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

TdxGanttControlChartView.OnTaskCreate Event

In This Article

Allows you to accept or decline a task created by a mouse drag-and-drop operation.

#Declaration

Delphi
property OnTaskCreate: TdxGanttControlTaskCreateEvent read; write;

#Remarks

This event occurs every time a user holds down the left mouse button and moves the mouse pointer in the chart to create a task.

The OnTaskCreate event has no effect if the OnTaskStartCreate event’s AAllow parameter is False.

Refer to the TdxGanttControlTaskCreateEvent type description for details.

Note

The event’s AAccept parameter set to False blocks the OnTaskEndCreate event occurrence.

See Also