Solved

Automatically open the dropdown

Posted on 2008-10-09
7
166 Views
Last Modified: 2013-11-26
Hi all, I have a question, I have been looking for a command on this and have not had any luck.  I have a radiobuttonlist with letters on it, when they pick a letter that is what populates a dropdown list.  They want, when they pick a letter, the dropdownlist automatically opens up.  In other words, so they don't have to click on the dropdownlist to make it open up...  In VS2005 VB

Thanks,
0
Comment
Question by:ratkinso666
  • 4
  • 2
7 Comments
 
LVL 1

Expert Comment

by:VBpassion
ID: 22681447
Hi there,
do u need that to be done in vb.net only, or can i sow you in vb6.0
0
 
LVL 85

Accepted Solution

by:
Mike Tomlinson earned 500 total points
ID: 22681944
Use the ComboBox.DroppedDown() Property:
http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.droppeddown.aspx

Setting it to True will make the DropDown portion display:

    ComboBox1.DroppedDown = True
0
 

Author Comment

by:ratkinso666
ID: 22682469
I've seen the combobox referenced, but I only have a dropdownlist....  
VBPassion, is it a long process ??  I am hoping to be able to simply do something like Idle Mind said, but for a dropdownlist...
Thanks,
Randy
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 85

Expert Comment

by:Mike Tomlinson
ID: 22682822
"but I only have a dropdownlist.... "

If you're working with a WebForm I have no idea sorry....  =\
0
 

Author Comment

by:ratkinso666
ID: 22683399
Yes, this is a vb.net web page..
0
 

Author Comment

by:ratkinso666
ID: 22717643
While I did not get the answer for a webform, I assume it can't be done.  I did get the answer for a non .net project.  So I awarded the points after deciding I was not going to get an answer for .net.

Thanks,
Randy
0
 

Author Closing Comment

by:ratkinso666
ID: 31504790
Thanks for the great answer Idle Mind
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question