TCustomGrid.ColumnsChanged procedure
Performs actions needed when one or more columns in the grid are changed.
Declaration
procedure ColumnsChanged(aColumn: TGridColumn)Arguments
aColumn | Grid column instance for the notification, or Nil. |
Description
ColumnsChanged is procedure used to perform actions needed when
one or more
Columns in the grid are changed.
AColumn
contains the column affected by the change, or signals a change to multiple
columns when its value is unassigned (contains
Nil).
When AColumn is Nil, the row or column count and/or fixed row or fixed column
count has been changed. When AColumn contains a valid TGridColumn
instance, the modified column is located in the Columns collection and the
VisualChange method is called.
ColumnsChanged is called from methods like: SetFixedCols,
SetRowCount, and OnTitleFontChanged. It is also called
when the Update method in Columns is called for the
TGridColumns collection.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
