Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGanttControlTaskEndMoveEvent Type

Performs a set of actions in response to task movement completion.

#Declaration

Delphi
TdxGanttControlTaskEndMoveEvent = procedure(Sender: TObject; ATask: TdxGanttControlTask) of object;

#Parameters

Name Type Description
Sender TObject

The Chart View that raised the event.

ATask TdxGanttControlTask

The moved task.

#Remarks

You can open the Features Demo and modify its code. Handle the OnTaskEndMove event and use the following code snippet to display the message that shows the rearranged task’s new start date:

procedure TFeaturesDemoMainForm.GanttControlViewChartTaskEndMove(Sender: TObject;
  ATask: TdxGanttControlTask);
begin
  ShowMessage('The "' + ATask.Name + '" task starts on ' + DateTimeToStr(ATask.Start) + 'now');
end;
See Also