TdxRibbonCustomBackstageView.OnCanClose Event
Enables you to prohibit end-users from closing the menu.
Declaration
property OnCanClose: TCloseQueryEvent read; write;
Remarks
Sender specifies the menu to be closed.
Pass False as the CanClose event parameter to prohibit end-users from closing the menu.
Note
The OnCanClose event is fired in response to either an end-user action that closes the menu or the ClosePopup method call. Closing an application or hiding the menu via its Hide method or the Visible property does not fire this event. To respond to closing the menu in any case, handle the OnCloseUp event.
See Also