Sign in Join
FPDoc Onlineexperiment

TCustomGrid.IsColumnIndexValid function

Member of TCustomGridprotectedIn unit Grids

Indicates if the specified index position is valid for the columns in the grid.

Declaration

pascal
function IsColumnIndexValid(AIndex: Integer): Boolean

Arguments

AIndex

Index position examined in the method.

Function result

True when Index is in range for the column definitions in the grid.

Description

Returns True when AIndex is a valid column index in the range 0..ColCount-1.

IsColumnIndexValid is used in several methods which access a column definition or data by its ordinal position in the grid control.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.