Vcl.ActnMenus.TGetPopupClassEvent

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TGetPopupClassEvent = procedure(Sender: TObject;
var PopupClass: TCustomPopupClass) of object;

C++

typedef void __fastcall (__closure *TGetPopupClassEvent)(System::TObject* Sender, TCustomPopupClass &PopupClass);

Properties

Type Visibility Source Unit Parent
type
typedef
public
Vcl.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus Vcl.ActnMenus

Description

TGetPopupClassEvent is the type of the OnGetPopupClass event handler of an action menu.

TGetPopupClassEvent lets you indicate what pop-up menu class is displayed.

Sender is the control panel application object.

PopupClass returns the pop-up menu class that will be displayed.

See Also