[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 1556

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. 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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.