Click to See Complete Forum and Search --> : A simple Combo Box Question


Jym
November 27th, 2002, 01:50 PM
ok I have a bunch of dropdown combo boxes with lists of about 10 things in them, how do I make it so that one of the list items shows in the box before it's dropped and also make it so that a user can NOT enter something that's not on the list, I want it for clicking an Item only.

Thanks

Jym

Athley
November 27th, 2002, 02:42 PM
Set the DropDownStyle property to DropDownList and add the following code to the load event of the form or similar:

ComboBox1.SelectedIndex = 0

/Leyan