Hi,
I'm populating a combobox from a database, but would like to prevent users
to edit in it.
Can't find any readonly property. Anyone know how to do this ?

Re: How to make Combobox readonly by Jeroen

Jeroen
Thu Jan 08 03:56:01 CST 2004

Totto wrote:
> Hi,
> I'm populating a combobox from a database, but would like to prevent
> users to edit in it.
> Can't find any readonly property. Anyone know how to do this ?

Set the DropDownStyle property to the value ComboBoxStyle.DropDownList



Re: How to make Combobox readonly by hirf-spam-me-here

hirf-spam-me-here
Thu Jan 08 12:14:31 CST 2004

* "Totto" <taa@norcon.no> scripsit:
> I'm populating a combobox from a database, but would like to prevent users
> to edit in it.
> Can't find any readonly property. Anyone know how to do this ?

Set the 'DropDownStyle' property to 'DropDownList'.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>