Talk2Tom11 Posted September 17, 2006 Posted September 17, 2006 How do I make a comboBox ReadOnly... I only want the user to be able to choose from the drop down not write in their own stuff. Quote
Junkee Posted September 17, 2006 Posted September 17, 2006 Take a look at the DropDownStyle property. There's 3 to choose from, I *think* you want 'DropDownList', though I can't 100% remember the names. Quote
Leaders snarfblam Posted September 18, 2006 Leaders Posted September 18, 2006 Yes, it is DropDownList. The only problem with using the DropDownList style is that you can not set the SelectedIndex property at runtime, which means that you must write code to do so or always start with a blank combo box. Quote [sIGPIC]e[/sIGPIC]
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.