RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListView.ColumnClick Property

Determines whether the column header behaves like a button.

Pascal
property ColumnClick: Boolean;
C++
__property Boolean ColumnClick;

Use ColumnClick to specify whether the OnColumnClick event should occur when the user clicks on the column header. When ColumnClick is true, the OnColumnClick occurs when the column header is clicked with the mouse. When ColumnClick is false, the OnColumnClick event never occurs.

Note: For column clicks to work, the column headers must be displayed. To display the headers, set the ShowColumnHeaders property to true and the ViewStyle property to vsReport.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!