Table of Contents

TTMSFNCCustomTabSet.FindNextTab Method

Returns the next tab index after the specified tab.

API unit family: TMSFNCTabSet Declaring type: TTMSFNCCustomTabSet

Syntax

function FindNextTab(ATabIndex: Integer; ACheckTabVisible: Boolean): Integer; virtual;

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.