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

TCustomListView.ColumnClick

Enables or disables OnColumnClick events for column headers on the control.

Declaration

Source position: comctrls.pp line 1572

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

Description

ColumnClick is an indexed Boolean property which controls whether the OnColumnClick event handler is signalled when a Report view column is clicked. The default value for the property is True.

ColumnClick 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 property value.

ColumnClick is used in the ColClick method, which is called when the LVN_COLUMNCLICK control notification message is handled for the list view control.

See also

TCustomListView.OnColumnClick

  

Event handler signalled when a column header for the control is clicked.

TCustomListView.ColClick

  

Performs actions to handle a mouse click on a Report view column header.

TListViewProperties

  

Set type used to store values from the TListViewProperty enumeration.

TListViewProperty

  

Represents Boolean properties used in TCustomListView.


Version 3.2 Generated 2024-02-25 Home