Start New Discussion within our Software Development Community

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

This question has already been answered. Start a new discussion instead.