greetings!


I designed simple program with combobox and i want to lock this combobox. I dont want to allow the user to type in this combobox. Only the list item data can be selected and not allowed to type any value..


for example:

Displaying "Gender" using combobox . The item list are "male" and "female" only. I want the user to select only from this option at not allowing them to type or to change the value of this combobox..

anybody have idea or who can help to do this..

thank you in advance

Hi,

You can do this by setting the Style property to 2 - Dropdown List.

Regards,
Shrinivas

greetings!


I designed simple program with combobox and i want to lock this combobox. I dont want to allow the user to type in this combobox. Only the list item data can be selected and not allowed to type any value..


for example:

Displaying "Gender" using combobox . The item list are "male" and "female" only. I want the user to select only from this option at not allowing them to type or to change the value of this combobox..

anybody have idea or who can help to do this..

thank you in advance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.