Back to Devexpress

TcxCustomTabControl.OnCanCloseEx Event

vcl-cxpc-dot-tcxcustomtabcontrol-2e4f38b8.md

latest868 B
Original Source

TcxCustomTabControl.OnCanCloseEx Event

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

TcxCustomTabControl Class

TcxCustomTabControl Members

cxPC Unit