locking combo box in visual basic 6

Thread Solved

Join Date: Aug 2007
Posts: 47
Reputation: locsin is an unknown quantity at this point 
Solved Threads: 0
locsin locsin is offline Offline
Light Poster

locking combo box in visual basic 6

 
0
  #1
Nov 27th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 44
Reputation: kshrini is an unknown quantity at this point 
Solved Threads: 3
kshrini kshrini is offline Offline
Light Poster

Re: locking combo box in visual basic 6

 
0
  #2
Nov 27th, 2007
Hi,

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

Regards,
Shrinivas

Originally Posted by locsin View 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
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC