Skip to main content

TcxCustomTabControl.OnCanCloseEx Event

Enables you to respond to closing a tab.

Declaration

property OnCanCloseEx: TcxPCCanCloseEventEx read; write;

Remarks

Sender provides access to the tab control.

ATabIndex returns the index of the tab to be closed.

ACanClose specifies whether or not the tab can be closed. This parameter is initialized to True. Set it to False, to prohibit closing the tab.

Note

The OnCanClose event is not fired if you handled the OnCanCloseEx event.

See Also