Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

Making the List Drop Automatically

Question:
How can I make the combo box drop its list easily?

Answer:
On form load, do combo.additem , until all items are placed into the combo list. To cause the combo (type 0) to drop down, under program control, execute SendKeys "{F4}". This is not a very elegant solution, but it is effective for both VB 3.0 and VB 4.0.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date