Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Value Guessing

Status
Not open for further replies.

SoyDelicious

Technical User
Jul 23, 2002
46
US
I'm not quite sure on how to put this. Say I have a list of different values that one could choose from located in the properties of a text box. I was wondering if one were to type in first letter then a list of values would pop-up that start with that letter, the more letters you input the less the values become until one is left. If someone could give me some info on this is would be most helpful...
 
Hi,
You could accomplish this using the Combo box. The Combo box has this feature bulit in.

Hope it helps. Let me know what happens.
With regards,
PGK
 
Do you know off hand if that feature is available with 97?
 
Tried responding to this earlier; apparently, it didn't get through. If my response winds up showing up twice, please don't blame me for trying to be helpful :) .

The ComboBox control's .AutoExpand property is the one you want to look at, SoyDelicious. As the user types in the ComboBox, the first entry in the list that begins with the characters typed so far is displayed -- this doesn't interfere with continuing to type normally or limit what can be typed in the box. Check out the Help Files.

You might also want to look at the .LimitToList property and the .OnNotInList property (and associated event) while you're at it. They're just useful to know about when working with ComboBoxes.

[P.S. About your username, SoyDelicious... Are you saying that you are delicious ("Soy" in Spanish means "I am")? Or are you just really enthusiastic about Soy (as in products of the soy plant and soybeans)? [bigsmile]]
 
I'm vegan so, and its my favorite ice soycream :) I guess I'm delicious too. Have a good one thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top