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.OnCanClose Event

In This Article

Enables you to respond to closing the currently selected tab.

#Declaration

Delphi
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