TGridColumn.Grid property
The grid control to which this column belongs.
Declaration
property Grid: TCustomGrid read GetGrid;Description
Grid is a read-only
TCustomGrid property with the grid
control where the column instance is stored. Grid allows the column definition
to access properties, methods, and events found in the TCustomGrid control
where the column is used.
The property value contains the Collection (TGridColumns) for the item, and is passed as an argument to constructor for the class instance. The property value is Nil if the collection is not descended from TGridColumns.
Example uses can be found in methods like SetIndex, GetWidth, GetDefaultWidth, GetDefaultColor, FillDefaultFont and ScaleFontsPPI.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
