Vcl.Controls.TContextPopupEvent
Delphi
TContextPopupEvent = procedure(Sender: TObject; MousePos: TPoint; var Handled: Boolean) of object;
C++
typedef void __fastcall (__closure *TContextPopupEvent)(System::TObject* Sender, const System::Types::TPoint &MousePos, bool &Handled);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
TContextPopupEvent is the function type for an OnContextPopup event.
TContextPopupEvent has the following parameters:
Parameter | Meaning |
---|---|
Sender |
The control which generated the event. |
MousePos |
The position of the mouse when the event was generated. |
Handled |
This parameter is used to specify whether the event is handled in the user code. |