hi all,
Does anyone know a clean way to prevent the user from entering thier own text into a combo box? I like the drop down menu over a list box style scrolling menu, but need to prevent the user from entering thier own text.
thanks.
hi all,
Does anyone know a clean way to prevent the user from entering thier own text into a combo box? I like the drop down menu over a list box style scrolling menu, but need to prevent the user from entering thier own text.
thanks.
I believe you want the CBS_DROPDOWNLIST style
"Think not but that I know these things; or think
I know them not: not therefore am I short
Of knowing what I ought."
-John Milton, Paradise Regained (1671)
"Work hard and it might happen."
-XSquared
Set the DropDownStyle property to DropDownList.
thanks for your help, works perfectly.