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

TListColumn.Caption

Caption text (heading) for the column.

Declaration

Source position: comctrls.pp line 1243

published property TListColumn.Caption : TTranslateString
  read FCaption
  write SetCaption;

Description

Caption is a TTranslateString property with the caption text or heading displayed for the column. When the list view control uses vsReport in its ViewStyle property and has enabled ShowColumnHeaders, Caption is displayed as the column header on the control.

Changing the value for the property causes the Changed method to be called to update the list column in its Collection. The widgetset class is notified of the changed value when its handle has been allocated. This includes forwarding the current value in AutoSize if it has been enabled.

Use of the TTranslateString type for the property allows the value to be translated using the i18n facilities in the Lazarus IDE.

See also

TCustomListView.ShowColumnHeaders

  

Show header area in ListView, which shows captions of columns.

TCustomListView.Columns

  

Collection with the column definitions for the list view control (size, alignment, image index, etc.).

TTranslateString

  

Alias for the String type.

TCollectionItem


Version 3.2 Generated 2024-02-25 Home