From Appmethod Libraries
Jump to: navigation, search


Object Pascal

TPopupMenu = class(TCustomPopupMenu, IItemsContainer)


class PASCALIMPLEMENTATION TPopupMenu : public Fmx::Types::TCustomPopupMenu


Type Visibility Source Unit Parent
class public
FMX.Menus FMX.Menus


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.

See Also