Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxCustomTabControl.OnCanCloseEx Event

In This Article

Enables you to respond to closing a tab.

#Declaration

Delphi
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