FMX.Menus.TPopupMenu

Delphi
TPopupMenu = class(TCustomPopupMenu, IItemsContainer, IGlyph)
C++
class PASCALIMPLEMENTATION TPopupMenu : public Fmx::Types::TCustomPopupMenu
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Menus.pas FMX.Menus.hpp |
FMX.Menus | FMX.Menus |
Description
Represents a pop-up menu.
Use TPopupMenu to describe a menu that appears only when the Popup procedure is called. TPopupMenu appears at the coordinates indicated by the parameters of the Popup procedure.
TPopupMenu is composed of TMenuItems. You can add menu items in several ways:
- To add a menu item at design time, do any of the following:
- Right-click the component and select Add Item from the context menu.
- Double-click the component and click the Add Item button on the Items Designer.
- Right-click the component, select Items Editor from the context menu, and then click the Add Item button.
- To add a menu item at run time, use the AddObject procedure of TPopupMenu.