RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListView.OnColumnClick Event

Occurs when the user clicks on a column header in a list view.

Pascal
property OnColumnClick: TLVColumnClickEvent;
C++
__property TLVColumnClickEvent OnColumnClick;

Write an OnColumnClick event handler to respond to clicks made in the column header when ViewStyle is vsReport. The Column parameter is the TListColumn object from the Columns property that describes the column that was clicked. 

OnColumnClick only occurs when ViewStyle is vsReport and ShowColumnHeaders is true. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!