[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Enables or disables OnColumnClick events for column headers on the control.
Source position: comctrls.pp line 1581
protected property TCustomListView.ColumnClick : Boolean |
ColumnClick is an indexed Boolean property which controls whether the OnColumnClick event handler is signalled when a Report view column header is clicked. It also controls whether a column header is drawn using the "pressed" or "down" state while the mouse button is down on a column header. The default value for the property is True, and enables both the event handler and the header drawing state (on supported platforms).
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 value.
Remark: | Changing the property value causes the handle for the widgetset class to be recreated on the Windows platform. This causes multi-selections to be cleared - but the last item in the multi-selection is retained as the selected item. |
ColumnClick is used in the ColClick method, which is called when the LVN_COLUMNCLICK control notification message is handled for the list view control.
|
Event handler signalled when a column header for the control is clicked. |
|
|
Performs actions to handle a mouse click on a Report view column header. |
|
|
Set type used to store values from the TListViewProperty enumeration. |
|
|
Represents Boolean properties used in TCustomListView. |
Version 4.0 | Generated 2025-05-03 | Home |