Skip to main content
Table of Contents

TTMSFNCPageSlider.FindNextPage Method

Finds the next page before or after the specified page.

API unit family: TMSFNCPageSlider Declaring type: TTMSFNCPageSlider Inherited from: TTMSFNCCustomPageSlider

Syntax

FMX.TMSFNCPageSlider.hppPascalC++
function FindNextPage(ACurPage: TTMSFNCPageSliderContainer; AGoForward: Boolean): TTMSFNCPageSliderContainer;
TTMSFNCPageSliderContainer* __fastcall FindNextPage(TTMSFNCPageSliderContainer* ACurPage, bool AGoForward);

Parameters

Name Description
ACurPage Page used as the starting point.
AGoForward Set to True to search forward; set to False to search backward.

Returns

The next matching page container, or nil when no page is available.