Sign in Join
FPDoc Onlineexperiment

TGridColumnTitle.ImageLayout property

Member of TGridColumnTitlepublishedIn unit Grids

The layout used for any image in the column title.

Declaration

pascal
property ImageLayout: TButtonLayout read FImageLayout write SetImageLayout default blGlyphRight;

Description

ImageLayout is a TButtonLayout property which controls the placement of the title image relative to the text displayed in the column header. The default value for the property is blGlyphRight, and causes the image to be aligned to the right of the Caption displayed in the column title.

See TButtonLayout for the values allowed in the property and their meanings.

Changing the value for the property causes the ColumnChanged method in Column to be called. This updates the collection item in the grid control where the column is defined, and resets the value in the WidthChanged property in Column.

Use Alignment and Layout to control the placement of the Caption text in the column title.

See also

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