make combox non editable in VB .net windows application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all, i'm newbies to .net (VB) development and i've got a little
question.(i use microsoft visual studio to develop but i can code also)
i created a form with a comboxbox. When i launch it, the comboxbox is
editable. I'd like it to be non-editable. Could you tell me what's the way to
get it non-editable? (i'd like it to appear as a 'select' in html; so that
you can not type text into ;-)

Thanks in advance for your help,

Sebastien.
 
Set the dropdownstyle of the combobox to DropDownStyle.DropDownList

message Dear all, i'm newbies to .net (VB) development and i've got a little
question.(i use microsoft visual studio to develop but i can code also)
i created a form with a comboxbox. When i launch it, the comboxbox is
editable. I'd like it to be non-editable. Could you tell me what's the way
to
get it non-editable? (i'd like it to appear as a 'select' in html; so that
you can not type text into ;-)

Thanks in advance for your help,

Sebastien.
 
Back
Top