Skip to main content

TdxGanttControlChartView.OnTaskCreate Event

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

Declaration

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.

A Task Created Using the Mouse

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