Skip to main content

TdxRibbonCustomRadialMenu.Show(Integer,Integer) Method

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

Declaration

procedure Show(X: Integer; Y: Integer);

Parameters

Name Type
X Integer
Y Integer

Remarks

Unlike the Popup or PopupFromCursorPos method, the Show method displays only the radial menu’s central button. The menu remains collapsed until an end-user selects this button. While the menu is expanded, selecting the central button, executing a command, or clicking or tapping outside the menu bounds exits to the main level and collapses the menu into the central button. 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