Sign in Join
FPDoc Onlineexperiment

TPopupMenu.OnPopup property

Member of TPopupMenupublishedIn unit Menus

Event handler signalled to display the pop-up menu.

Declaration

pascal
property OnPopup: TNotifyEvent read FOnPopup write FOnPopup;

Description

OnPopUp is signalled from DoPopUp when the PopUp method is executed. The Sender argument contains the TPopUpMenu instance for the notification, and occurs before the handles for menu items are recreated and the widgetset class is used to display the pop-up menu. It can be used to alter the menu items for the pop-up menu based on context.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.