TTMSFNCColorSelector.FindItemByColor Method
Returns the item index of the first item whose color matches the given color value.
API unit family: TMSFNCColorSelector
Declaring type: TTMSFNCColorSelector
Inherited from: 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.