Skip to main content
Table of Contents

TTMSFNCTabSet.OnBeforeUpdateTab Event

Occurs before an edited tab caption is applied and allows the text or operation to be changed.

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

Syntax

FMX.TMSFNCTabSet.hppPascalC++
OnBeforeUpdateTab: TTMSFNCTabSetBeforeUpdateTabEvent;
__property TTMSFNCTabSetBeforeUpdateTabEvent OnBeforeUpdateTab = {read=FOnBeforeUpdateTab, write=FOnBeforeUpdateTab};

Parameters

Name Description
Sender Object that triggered the event.
ATabIndex Zero-based index of the tab being updated.
AText Edited text that can be changed by the handler.
ACanUpdate Set to False to cancel the update.