TTMSFNCListBox.LookupItem Method
Finds an item by lookup text.
API unit family: TMSFNCListBox
Declaring type: TTMSFNCListBox
Inherited from: TTMSFNCCustomListBox
Syntax
function LookupItem(ALookupString: String; ACaseSensitive: Boolean = False; AAutoSelect: Boolean = False): TTMSFNCListBoxItem; virtual;
Parameters
| Name | Description |
|---|---|
ALookupString |
The text to search for. |
ACaseSensitive |
When True, matching uses case-sensitive comparison. |
AAutoSelect |
When True, the matching item is selected. |
Returns
The matching item, or nil when no item matches.