Combobox - Selecting items with keystrokes

MarkS
04-03-2003, 07:16 PM
I have to think there's an easy way to do this but I can't think of one.

Say we have 50 states as items in a Combobox. If the user hits, say, the "I" key, we want to select the first state in the list that starts with I (Idaho). If the user next hits the "L" key, we want to bring up the first state that has IL (Illinois). and so on.

How can this be done?

MarkS

Squirm
04-03-2003, 08:01 PM
Try our wonderful search feature:
http://www.visualbasicforum.com/showthread.php?threadid=54876
http://www.visualbasicforum.com/showthread.php?threadid=36425

MarkS
04-03-2003, 10:40 PM
Try our wonderful search feature:
http://www.visualbasicforum.com/showthread.php?threadid=54876
http://www.visualbasicforum.com/showthread.php?threadid=36425

Thank you sir. Cheers.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum