TcxCustomTabControl.OnCanClose Event
Enables you to respond to closing the currently selected tab.
Declaration
property OnCanClose: TcxPCCanCloseEvent read; write;
Remarks
Sender provides access to the tab control.
ACanClose specifies whether or not the selected tab can be closed. This parameter is initialized to True. Set it to False, to prohibit closing the selected tab.
Note
The OnCanClose event is not fired if you handled the OnCanCloseEx event.
See Also