Sign in Join
FPDoc Onlineexperiment

TStringGrid.TitleStyle property

Member of TStringGridpublishedIn unit Grids

The drawing style used for the fixed column titles.

Declaration

pascal
property TitleStyle:;

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.

This description is the one of Grids.TCustomGrid.TitleStyle.

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