[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the position of the specified column relative to the first column in the grid.
Source position: grids.pas line 1009
protected function TCustomGrid.ColumnIndexFromGridColumn( |
Column: Integer |
):Integer; |
Column |
|
Column number to locate in the grid. |
Relative position for the specified column.
ColumnIndexFromGridColumn is an Integer function used to get the position of the specified column relative to the first column in the grid. The return value contains the difference between Column and FirstGridColumn when Columns have been enabled in the grid control. RealIndex is called to translate the position used in the return value. If Columns have not been enabled, the return value is -1.
ColumnIndexFromGridColumn is used in the implementation of TCustomGrid methods like:
|
Returns the grid column definition at the specified position in Columns. |
|
|
Performs an exchange of values for the columns or rows with the specified indexes. |
|
|
Performs an insert operation for a column or a row at the specified position. |
|
|
Performs a move operation for the column or row at the specified position. |
|
|
Performs a delete operation for a column or a row. |
Version 4.0 | Generated 2025-05-03 | Home |