RSS Forums RSS
Please support our VB.NET advertiser: Programming Forums

Combo Box

Join Date: Jul 2007
Posts: 24
Reputation: blondie.simon is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
blondie.simon blondie.simon is offline Offline
Newbie Poster

Re: Combo Box

  #10  
Jul 29th, 2007
Originally Posted by QVeen72 View Post
Hi,

Wrie this code in Got focus event of combo box:

PrivateSub ComboBox1_GotFocus(ByVal sender AsObject, ByVal e As System.EventArgs) Handles ComboBox1.GotFocus
SendKeys.Send("%{down}")
End Sub

This will open up the drop down list

Regards
Veena


sending %{DOWN} which I think is sending Alt + the down arrow key does not seem to do anything. Lucky all the items in my selection box all start with an open bracket so by sending that it opens up the box for me. I can see why %{DOWN} should work but I cant get it to work
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:40 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC