[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Indicates if cells are displayed using a Flat appearance.
Source position: grids.pas line 1258
protected property TCustomGrid.Flat : Boolean |
Flat is a Boolean property which indicates if the cells on the control are drawn using a "flat" drawing style. This causes the cells, including fixed headers, to have a thinner single-line border without any 3D relief regardless of the setting in TitleStyle.
The default value for the property is False. Changing the value in Flat causes the UpdateBorderStyle method to be called when BorderStyle is set to bsSingle. Invalidate is called and causes the control to be redrawn.
Flat is used in the DrawBorder method to determine the border drawing style and Canvas settings needed for the control.
Version 3.2 | Generated 2024-02-25 | Home |