Back to Devexpress

TdxGanttControlTasks.Insert(Integer) Method

vcl-dxganttcontroltasks-dot-tdxganttcontroltasks-dot-insert-x28-system-dot-integer-x29.md

latest958 B
Original Source

TdxGanttControlTasks.Insert(Integer) Method

Adds a task to the specified position in the collection.

Declaration

delphi
function Insert(Index: Integer): TdxGanttControlTask;

Parameters

NameType
IndexInteger

Returns

Type
TdxGanttControlTask

Remarks

Call this function to insert a new task at the Index position. The Insert function returns the newly created task that you can customize. To remove a specific task from the collection, call the Delete procedure.

See Also

TdxGanttControlTasks Class

TdxGanttControlTasks Members

dxGanttControlTasks Unit