943,937 Members | Top Members by Rank

Ad:
Nov 27th, 2007
0

locking combo box in visual basic 6

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
locsin is offline Offline
47 posts
since Aug 2007
Nov 27th, 2007
0

Re: locking combo box in visual basic 6

Hi,

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

Regards,
Shrinivas

Click to Expand / Collapse  Quote originally posted by locsin ...
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
Reputation Points: 10
Solved Threads: 3
Light Poster
kshrini is offline Offline
45 posts
since Jun 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Pseudo code into flowchart
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Exe with inline parameters





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC