PatternMatch method

Applies To
TQDB, TQDBItem, TQDBView

Declaration
function PatternMatch(Pattern : TKey) : boolean;

Description
The PatternMatch method searches the list of keys for a pattern match with the pattern 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 precede the first call to PatternMatch with PatternMatchInit.

For other information on searching for keys: CloseMatch, ExactMatch, & PartialMatch.