Back to Devexpress

TcxCustomTabControl.OnCanClose Event

vcl-cxpc-dot-tcxcustomtabcontrol-249720a0.md

latest821 B
Original Source

TcxCustomTabControl.OnCanClose Event

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

TcxCustomTabControl Class

TcxCustomTabControl Members

cxPC Unit