Home All Groups Group Topic Archive Search About

Prevent User Entering New Values in ComboBox

Author
7 Apr 2005 12:36 PM
Wayne Wengert
I want to prevent the user from keying in a new value as a combo box value.
I want the user restricted to choosing selections from the "Collection" I've
established. I can't find the property to accomplish this?

Wayne

Author
7 Apr 2005 12:45 PM
Larry Lard
Wayne  Wengert wrote:
> I want to prevent the user from keying in a new value as a combo box
value.
> I want the user restricted to choosing selections from the
"Collection" I've
> established. I can't find the property to accomplish this?

..DropDownStyle = ComboBoxStyle.DropDownList

--
Larry Lard
Replies to group please
Author
7 Apr 2005 12:55 PM
Wayne Wengert
Thanks - never would have guessed that one!

Wayne

Show quoteHide quote
"Larry Lard" <larryl***@hotmail.com> wrote in message
news:1112877917.539730.316130@z14g2000cwz.googlegroups.com...
>
> Wayne  Wengert wrote:
> > I want to prevent the user from keying in a new value as a combo box
> value.
> > I want the user restricted to choosing selections from the
> "Collection" I've
> > established. I can't find the property to accomplish this?
>
> .DropDownStyle = ComboBoxStyle.DropDownList
>
> --
> Larry Lard
> Replies to group please
>