Searching in a ListBox

Posted by RussCAp12602 on July 17, 2008

I have an application that shows a series of input Edit fields, which are combined to form a retrieval key. These consist of LastName, FirstName and MiddleInitial. The key is formed as "LastName, FirstName MiddleInitial" as the fields are entered.

There is also a ListBox which displays the retrieval keys from a file. What I want to do is search in the LixtBox for the retrieval key as it is entered, and highlight the best match so far. The file is maintained in key order.

Any suggestions on how to do this would be appreciated!

Related articles


Follow Ups