Skip to main content

TcxCustomTabControl.OnChange Event

Fires after a tab has been selected.

Declaration

property OnChange: TNotifyEvent read; write;

Remarks

Handle this event to perform specific actions each time after a tab has been selected. This event also fires after all tabs have been deselected. The currently selected tab index can be obtained via the TabIndex property. The Sender parameter specifies the tab control, whose selected tab has been changed.

This event allows you to update a tab control each time the selected tab changes. This is required by the TcxTabControl control since its page must be updated manually when a user selects a tab.

See Also