how do you make a combobox read-only?
Printable View
how do you make a combobox read-only?
I don't think combobox has this property !!but there is alternative way to make it readonly !Quote:
Originally posted by EyeTalion
how do you make a combobox read-only?
I just don't want the user to be able to type in there...
Well , it's easy thenQuote:
Originally posted by EyeTalion
I just don't want the user to be able to type in there...
you can do it through code like so:
or within combobox properties window :VB Code:
ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList
setdropdownstyle to DropDownList
thanks...have you worked with the DateTimePicker control? In the dropdown it's showing:
Tuesday, Febuary 25, 2003...I'll like it to show 02/25/03 (MM/dd/yy)...not sure where to set it though?
There is a property you can set to short date time.
thanks