Skip to main content
Table of Contents

TTMSFNCTabSet.OnBeforeReorderTab Event

Occurs before tabs are reordered and allows the reorder operation to be cancelled.

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

Syntax

FMX.TMSFNCTabSet.hppPascalC++
OnBeforeReorderTab: TTMSFNCTabSetBeforeReorderTabEvent;
__property TTMSFNCTabSetBeforeReorderTabEvent OnBeforeReorderTab = {read=FOnBeforeReorderTab, write=FOnBeforeReorderTab};

Parameters

Name Description
Sender Object that triggered the event.
ACurrentTabIndex Zero-based index of the tab being moved.
ANewTabIndex Zero-based destination index.
ACanReorder Set to False to cancel the reorder operation.