Skip to main content

TdxGanttControlSheetColumns.Insert(Integer,TdxGanttControlSheetColumnClass) Method

Adds a column to the specified position in the collection.

Declaration

function Insert(AIndex: Integer; AClass: TdxGanttControlSheetColumnClass): TdxGanttControlSheetColumn;

Parameters

Name Type
AIndex Integer
AClass TdxGanttControlSheetColumnClass

Returns

Type
TdxGanttControlSheetColumn

Remarks

Call this function and pass a column class-reference as the AClass parameter to create a new column with the default settings at the AIndex position. The Insert function returns the newly created column.

See Also