PartialMatch method

Applies To
TQDB, TQDBItem, TQDBView

Declaration
function PartialMatch(StartOfKey : TKey) : boolean;

Description
The PartialMatch method searches the list of keys for a match of the beginning of the key with the StartOfKey parameter. The search begins after the current item. If a match occurs ItemIndex is changed accordingly, the function returns true (otherwise false), and the OnFound event is triggered.

To catch a possible match with the first key in the list it is necessary to preface the first call to PartialMatch with PartialMatchInit.

See also: CloseMatch, ExactMatch, & PatternMatch.