FMX.Menus.TPopupMenu.OnPopup
Delphi
property OnPopup: TNotifyEvent read FOnPopup write FOnPopup;
C++
__property OnPopup;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | FMX.Menus.pas FMX.Menus.hpp |
FMX.Menus | TPopupMenu |
Description
Occurs just before the pop-up menu appears.
FMX.Menus.TPopupMenu.OnPopup inherits from FMX.Types.TCustomPopupMenu.OnPopup. All content below this line refers to FMX.Types.TCustomPopupMenu.OnPopup.
Occurs just before the pop-up menu appears.
Write an OnPopup event handler to take specific action just before the pop-up menu appears. For example, use an OnPopup event handler to set the Checked, Enabled, or Visible property of individual items in the menu so that they are appropriate to the PopupComponent.