Sign in Join
FPDoc Onlineexperiment

TGridColumn.GetDefaultLayout function

Member of TGridColumnprotectedIn unit Grids

Default layout used for text in the grid column.

Declaration

pascal
function GetDefaultLayout: TTextLayout; virtual

Function result

Default value for the Layout property.

Description

GetDefaultLayout is a TTextLayout function used to get the default value for the Layout property in the grid column. The return value is always tlCenter in TGridColumn.

GetDefaultLayout is called when reading the value for the Layout property, and an explicit value has not been assigned for the property. It is also called when setting a new value in Layout, and determines whether the property member is re-allocated for the new value.

See also

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