Table of Contents

TTMSFNCTabSet.OnBeforeInsertTab Event

Occurs before a new tab is inserted and allows the target index or operation to be changed.

API unit family: TMSFNCTabSet Declaring type: TTMSFNCTabSet Inherited from: TTMSFNCCustomTabSet

Syntax

OnBeforeInsertTab: TTMSFNCTabSetBeforeInsertTabEvent;

Parameters

Name Description
Sender Object that triggered the event.
ANewTabIndex Zero-based insertion index that can be changed by the handler.
ACanInsert Set to False to cancel the insert operation.