TcxCustomTabControl.OnChanging Event
Fires immediately before a tab is selected.
Declaration
property OnChanging: TcxTabChangingEvent read; write;
Remarks
Handle this event to perform specific actions each time before a user selects a tab. This event also fires after all tabs have been deselected. The Sender parameter specifies the tab control, whose selected tab is about to be changed. You can prohibit changing the selected tab by setting the AllowChange parameter to False.
Use an OnChanging event handler to prevent a user from leaving the tab until certain conditions have been met. It can also be used to save information about the current state of the tab control before it is changed by a new tab selection.
See Also