TTMSFNCBitmapPicker.FindItemByBitmap Method
Finds the item index that displays the specified bitmap instance.
API unit family: TMSFNCBitmapPicker
Declaring type: TTMSFNCBitmapPicker
Inherited from: TTMSFNCCustomBitmapPicker
Syntax
function FindItemByBitmap(ABitmap: TTMSFNCBitmap): Integer;
int __fastcall FindItemByBitmap(TTMSFNCBitmap* ABitmap);
Parameters
| Name | Description |
|---|---|
ABitmap |
Bitmap instance to locate. |
Returns
The matching item index, or -1 when no item displays the bitmap.