Skip to main content

TcxCustomTabControl.OnNewTabButtonClick Event

Enables you to prevent end-users from creating a tab by clicking the New tab button.

Declaration

property OnNewTabButtonClick: TcxPCNewTabButtonClickEvent read; write;

Remarks

Fires before a new tab is created.

Sender specifies the page or tab control that fired the event.

Pass True as AHandled to prohibit new tab creation. Otherwise, a new tab is created and then the OnNew event is fired.

See Also