Back to Devexpress

TdxGanttControlChartView.OnTaskCreate Event

vcl-dxganttcontrolviewchart-dot-tdxganttcontrolchartview-f736c180.md

latest1.3 KB
Original Source

TdxGanttControlChartView.OnTaskCreate Event

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

TdxGanttControlChartView Class

TdxGanttControlChartView Members

dxGanttControlViewChart Unit