TTMSFNCTabSet.OnBeforeCloseTab Event
Occurs before a tab is closed and allows the close action to be changed.
API unit family: TMSFNCTabSet
Declaring type: TTMSFNCTabSet
Inherited from: TTMSFNCCustomTabSet
Syntax
OnBeforeCloseTab: TTMSFNCTabSetBeforeCloseTabEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Object that triggered the event. |
ATabIndex |
Zero-based index of the tab being closed. |
ACloseAction |
Close action that will be applied unless changed by the handler. |