Skip to main content
Table of Contents

TTMSFNCResponsiveManagerItemSizeComparer.Compare Method

Compares two responsive manager items by their size constraint values and returns negative, zero, or positive to indicate ordering.

API unit family: TMSFNCResponsiveManager Declaring type: TTMSFNCResponsiveManagerItemSizeComparer

Syntax

FMX.TMSFNCResponsiveManager.hppPascalC++
function Compare(const Left, Right: TTMSFNCResponsiveManagerItem): Integer; override;
virtual int __fastcall Compare(TTMSFNCResponsiveManagerItem* const Left, TTMSFNCResponsiveManagerItem* const Right);

Parameters

Name Description
Left First item to compare.
Right Second item to compare.

Returns

Negative when Left is smaller, zero when equal, positive when Left is larger.