[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TGridColumnTitle.ImageLayout

The layout used for any image in the column title.

Declaration

Source position: grids.pas line 507

published property TGridColumnTitle.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

TGridColumnTitle.Alignment

  

Horizontal alignment for the text in the column title.

TGridColumnTitle.Caption

  

Text displayed as the title for the grid column.

TGridColumnTitle.Column

  

The TGridColumn instance where the title is used.

TGridColumnTitle.Layout

  

Vertical alignment for the Caption text displayed in the column title.

TGridColumn.ColumnChanged

  

Performs actions needed when a column in the grid is changed.

TGridColumn.WidthChanged

  

True when the width for the column has been changed.

TButtonLayout

  

Enumerated type which defines the position for a glyph on a button.


Version 4.0 Generated 2025-05-03 Home