Sign in Join
FPDoc Onlineexperiment

TListColumn.Caption property

Member of TListColumnpublishedIn unit ComCtrls

Caption text (heading) for the column.

Declaration

pascal
property 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

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