TGridColumn.Font property
The font used for text displayed in the column.
Declaration
property Font: TFont read GetFont write SetFont stored IsFontStored;Description
Font is a
TFont property which contains the typeface name and display attributes used to display text for cells in the grid column.
By default, Font contains the same value assigned to the Grid control and
loaded in the FillDefaultFont method. It is applied to the Canvas for the
Grid and used in its DrawCellText method.
Changing the value for the property causes IsDefaultFont to be set to False. The ColumnChanged method is called to update the collection item in the Columns collection for the Grid. The value in WidthChanged is also reset to False.
Use the Font property in Title to set attributes for text displayed in the fixed header cells for the column.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
