[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.TitleStyle

The drawing style used for the fixed column titles.

Declaration

Source position: grids.pas line 1295

protected property TCustomGrid.TitleStyle : TTitleStyle
  read FTitleStyle
  write SetTitleStyle
  default tsLazarus;

Description

TitleStyle is a TTitleStyle property which contains the drawing style used when rendering the fixed cells with the column titles. Changing the value in TitleStyle cause the Invalidate method to be called to redraw the grid control.

TitleStyle is used in the DrawCellGrid and DefaultDrawCell methods when Flat is set to False, and controls the 3D appearance of the fixed cell.

tsLazarus
Uses the default appearance common to the supported platforms in Lazarus.
tsNative
Uses the drawing style for the current widgetset or theme.
tsStandard
Uses a more contrasted look similar to Delphi grids.

Use TitleFont (or the definitions in the Columns collection) to control the font used in fixed cells.


Version 3.2 Generated 2024-02-25 Home