Skip to main content
Table of Contents

TTMSFNCCustomTabSet.FindNextTab Method

Returns the next tab index after the specified tab.

API unit family: TMSFNCTabSet Declaring type: TTMSFNCCustomTabSet

Syntax

FMX.TMSFNCTabSet.hppPascalC++
function FindNextTab(ATabIndex: Integer; ACheckTabVisible: Boolean): Integer; virtual;
virtual int __fastcall FindNextTab(int ATabIndex, bool ACheckTabVisible);

Parameters

Name Description
ATabIndex Zero-based tab index to start from.
ACheckTabVisible When True, hidden tabs are skipped.

Returns

The next matching tab index, or -1 when no tab is found.