Skip to main content
Table of Contents

TTMSFNCTableView.LookupItem Method

Looks up an item by text.

API unit family: TMSFNCTableView Declaring type: TTMSFNCTableView Inherited from: TTMSFNCCustomTableView

Syntax

FMX.TMSFNCTableView.hppPascalC++
function LookupItem(ALookupString: String; ACaseSensitive: Boolean = False; AAutoSelect: Boolean = False): TTMSFNCTableViewItem; virtual;
virtual TTMSFNCTableViewItem* __fastcall LookupItem(System::UnicodeString ALookupString, bool ACaseSensitive = false, bool AAutoSelect = false);

Parameters

Name Description
ALookupString Text to look up.
ACaseSensitive When True, matching uses case-sensitive comparison.
AAutoSelect When True, selects the matching item automatically.

Returns

The matching table view object, or nil when no match is found.