Table of Contents

TTMSFNCTabSet.FindNextTab Method

Returns the next tab index after the specified tab.

API unit family: TMSFNCTabSet Declaring type: TTMSFNCTabSet Inherited from: 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.