FMX.Grid.TCustomGrid.ColumnIndex

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ColumnIndex: Integer read GetCol write SetCol;

C++

__property int ColumnIndex = {read=GetCol, write=SetCol, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Grid.pas
FMX.Grid.hpp
FMX.Grid TCustomGrid

Description

Specifies the index of the column that contains the selected cell.

Use ColumnIndex at run time to determine the current column in the grid. Setting ColumnIndex moves the focus to the cell in the current row that is in the new column. The first column has an index of 0, the second column has an index of 1, and so on.

See Also