Back to Devexpress

TdxRibbonCustomRadialMenu.Popup(Integer,Integer) Method

vcl-dxribbonradialmenu-dot-tdxribboncustomradialmenu-dot-popup-x28-system-dot-integer-system-dot-integer-x29.md

latest1.6 KB
Original Source

TdxRibbonCustomRadialMenu.Popup(Integer,Integer) Method

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

Declaration

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

Parameters

NameType
XInteger
YInteger

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

TdxRibbonCustomRadialMenu Class

TdxRibbonCustomRadialMenu Members

dxRibbonRadialMenu Unit