Table of Contents

TTMSFNCResponsiveManager.FindState Method

Returns the state whose string constraint matches AStringValue, or nil if none matches.

API unit family: TMSFNCResponsiveManager Declaring type: TTMSFNCResponsiveManager Inherited from: TTMSFNCCustomResponsiveManager

Overloads

Overload 1

Returns the state whose string constraint matches AStringValue, or nil if none matches.

function FindState(AStringValue: string): TTMSFNCResponsiveManagerItem; overload; virtual;

Parameters

Name Description
AStringValue The string value to search for.

Returns

The matching TTMSFNCResponsiveManagerItem, or nil.

Overload 2

Returns the state whose boolean constraint matches ABooleanValue, or nil if none matches.

function FindState(ABooleanValue: Boolean): TTMSFNCResponsiveManagerItem; overload; virtual;

Parameters

Name Description
ABooleanValue The boolean value to search for.

Returns

The matching TTMSFNCResponsiveManagerItem, or nil.

Overload 3

Returns the state whose numeric constraint matches ANumberValue, or nil if none matches.

function FindState(ANumberValue: Extended): TTMSFNCResponsiveManagerItem; overload; virtual;

Parameters

Name Description
ANumberValue The numeric value to search for.

Returns

The matching TTMSFNCResponsiveManagerItem, or nil.

Overload 4

Returns the best-matching size-based breakpoint state for the current control dimensions, or nil if none matches.

function FindState: TTMSFNCResponsiveManagerItem; overload; virtual;

Returns

The matching TTMSFNCResponsiveManagerItem, or nil.