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

TCustomListView.ShowColumnHeaders

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

Declaration

Source position: comctrls.pp line 1576

protected property TCustomListView.ShowColumnHeaders : Boolean
  index Ord(lvpShowColumnHeaders)
  read GetProperty
  write SetProperty
  default True;

Description

ShowColumnHeaders is a Boolean property which indicates whether column headers are displayed for the Report view style (ViewStyle = vsReport). When enabled, the captions for the list Items are displayed as column headers. The default value for the property is True.

ShowColumnHeaders is one of the TListViewProperty values included in the TListViewProperties set type and exchanged with the widgetset class. The property value is read from and written to the TCustomTreeview widgetset class instance when its handle is valid. Changing the value for the property causes the widgetset class to be updated with the new value.

See also

TCustomListView.Items

  

Collection of list items displayed on the list view control.

TListItem.Caption

  

Caption - the name given to this item on the list.

TListViewProperties

  

Set type used to store values from the TListViewProperty enumeration.

TListViewProperty

  

Represents Boolean properties used in TCustomListView.