Vcl.ComCtrls.TListView.OnColumnRightClick
Delphi
property OnColumnRightClick: TLVColumnRClickEvent read FOnColumnRightClick write FOnColumnRightClick;
C++
__property OnColumnRightClick;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TListView |
Description
Occurs when the user right-clicks a column header in a list view. {{#multireplace:Vcl.ComCtrls.TListView.OnColumnRightClick|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.ComCtrls.TCustomListView.OnColumnRightClick|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.ComCtrls.TCustomListView.OnColumnRightClick|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.