Skip to main content

TdxRibbonCustomRadialMenu.Popup(Integer,Integer) Method

Displays the radial menu on screen at a specified position and enables the popup display mode.

Declaration

procedure Popup(X: Integer; Y: Integer); override;

Parameters

Name Type
X Integer
Y Integer

Remarks

Call this method or the PopupFromCursorPos method to open the radial menu in popup mode. In this mode, selecting the central button, executing a command, or clicking or tapping outside the menu bounds, closes a menu (as with a popup menu). To programmatically close the menu, call its Hide method.

Handle the OnPopup, OnCloseUp, OnExpand, and OnCollapse events to track changes made to the menu’s visibility and expanded states.

See Also