how do i restrict usersfrom entering a specific value in a combo box?

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: May 2006
Posts: 10
Reputation: janeane_tho12n is an unknown quantity at this point 
Solved Threads: 0
janeane_tho12n janeane_tho12n is offline Offline
Newbie Poster

how do i restrict usersfrom entering a specific value in a combo box?

 
0
  #1
May 12th, 2006
whenever i run the program i can actually write something on it.
should combo box's value depend on its drop down list? isn't it?
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2,413
Reputation: Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough Comatose is a jewel in the rough 
Solved Threads: 211
Team Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Taboo Programmer

Re: how do i restrict usersfrom entering a specific value in a combo box?

 
0
  #2
May 12th, 2006
Not really. That's why it's called a "combo box" because it combines both a listbox feel with a textbox functionality. To give it the feel that you are after, however, simply change it's style property to 2, and it will behave like you want.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



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



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC