OnMenuPopupHandler variable
Unit global variable with the event handler signalled when a pop-up menu is displayed.
Declaration
OnMenuPopupHandler: TNotifyEvent = NilDescription
OnMenuPopupHandler is a
TNotifyEvent variable which
contains the global routine executed when when a pop-up menu is displayed. It
is signalled (when assigned) from the
Popup method in a
TPopUpMenu instance, or from the
Click method in a
TMenuItem instance. The
MenuPopupHandler method in
Application is assigned to the variable (by default) during
application start up. It is set to
Nil when an application is shut
down.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
