Reply
Wed 16 Feb, 2005 10:37 am
Does anyone know of a way to get a ComboBox to be read-oly in C++ .NET? I want the user to only be allowed to pick from the choices in the drop down menu and not be able to enter one of their own...
I always thought that was the only point of the combobox over more simple forms.
I don't code in those languages much, but if I wanted to do what you describe and didn't want to use a simple form I'd probably use javascript to strip out anything typed in.
But there's probably a better way than that.