Unit 'Grids' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCustomGrid.FirstGridColumn

Gets the position of the first column after any fixed columns in the grid.

Declaration

Source position: grids.pas line 1058

protected function TCustomGrid.FirstGridColumn: Integer; virtual;

Function result

Position of the first column after any fixed columns in the grid.

Description

FirstGridColumn is an Integer function used to get the ordinal position of the first column appearing after any fixed column in the grid control. The return value contains the value in the FixedCols property.

FirstGridColumn is used in the implementation of methods including:

See also

TCustomGrid.ColWidths

  

Provides indexed access to the Width of the column in the grid.

TCustomGrid.FixedCols

  

The number of fixed columns in the grid.

TCustomGrid.GetIsCellTitle

  

Indicates if the cell at the specified position is a fixed column header.

TCustomGrid.ColumnIndexFromGridColumn

  

Gets the position of the specified column relative to the first column in the grid.

TCustomGrid.GridColumnFromColumnIndex

  

Returns the column number for the column given its index position.

TCustomGrid.ColumnsChanged

  

Performs actions needed when one or more columns in the grid are changed.