Table of Contents

TTMSFNCCustomColorSelector.FindItemByColor Method

Returns the item index of the first item whose color matches the given color value.

API unit family: TMSFNCColorSelector Declaring type: TTMSFNCCustomColorSelector

Syntax

function FindItemByColor(AColor: TTMSFNCGraphicsColor): Integer;

Parameters

Name Description
AColor The color to search for.

Returns

Zero-based item index, or -1 if not found.