TTMSFNCTabSet.OnBeforeChangeTab Event
Occurs before the active tab changes and allows the change to be cancelled.
API unit family: TMSFNCTabSet
Declaring type: TTMSFNCTabSet
Inherited from: TTMSFNCCustomTabSet
Syntax
OnBeforeChangeTab: TTMSFNCTabSetBeforeChangeTabEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Object that triggered the event. |
ACurrentTabIndex |
Zero-based index of the current tab. |
ANewTabIndex |
Zero-based index of the tab that will become active. |
ACanChange |
Set to False to cancel the tab change. |