RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListView.OnColumnRightClick Event

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

Pascal
property OnColumnRightClick: TLVColumnRClickEvent;
C++
__property TLVColumnRClickEvent OnColumnRightClick;

Write an OnColumnRightClick event handler to respond to right clicks made in the column header when ViewStyle is vsReport.  

The Sender parameter is the list view that the user clicked. 

The Column parameter is the TListColumn object from the Columns property for the column that was clicked. 

The point parameter indicates where the user clicked the mouse, in client coordinates. 

OnColumnRightClick only occurs when ViewStyle is vsReport, and ShowColumnHeaders is true, and ColumnRightClick is true. 

 

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