Vcl.ComCtrls.TCustomListView.OnColumnRightClick
Delphi
property OnColumnRightClick: TLVColumnRClickEvent read FOnColumnRightClick write FOnColumnRightClick;
C++
__property TLVColumnRClickEvent OnColumnRightClick = {read=FOnColumnRightClick, write=FOnColumnRightClick};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomListView |
Description
Occurs when the user right-clicks a column header in a list view.
Write an OnColumnRightClick event handler to respond to right-clicks made in the column header when the ViewStyle property is vsReport
.
OnColumnRightClick only occurs when the ViewStyle property is vsReport
, and the ShowColumnHeaders property is True.