TCustomGrid.GetDefaultColumnLayout function
Gets the default vertical layout for text in the specified column.
Declaration
function GetDefaultColumnLayout(Column: Integer): TTextLayout; virtualDescription
GetDefaultColumnLayout gets the default vertical layout for text
in the specified Column. The
DefaultTextStyle property is used as
the source for the text Layout, and contains the value assigned in the
constructor for the class instance.
GetDefaultColumnLayout is called from GetColumnLayout when a
TGridColumn instance cannot be located in Columns for
the specified column number. This occurs when Column is invalid
for the defined Columns in the control, or when Columns has not been
Enabled (contains at least one visible column).
Change values in the DefaultTextStyle property to override the default values assigned in the Create method. Use the Columns collection to change the text layout used in a column when Columns are Enabled.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
