Developer

ColIndex

Determine column index of cell.

property ColIndex: Integer read GetColIndex;

Remarks


Index is not re-calculated, but it is set after user access to Cell property of TNextGrid.

Example:


var MyCell: TNxCell6; begin MyCell := NextGrid61.Cell[2, 2]; ShowMessage(IntToStr(MyCell.ColIndex)); // will show 2 NextGrid61.Cell[3, 2].AsString := 'Test'; ShowMessage(IntToStr(MyCell.ColIndex)); // will show 3

See also