CSharp/C# >> ComboBox drop down button

by SmVzcGVyLCBEZW5tYXJr » Fri, 21 Sep 2007 15:58:00 GMT


I have a combobox on a form with dropdown style. Is it possible to 'push'
the dropdown arrow button from code - causing the combobox to dropdown.

regards Jesper, DK

CSharp/C# >> ComboBox drop down button

by Johnny J. » Fri, 21 Sep 2007 16:16:47 GMT

Det tror jeg ikke, men du skulle kunne anvende fgende workaround:


Venlig hilsen
Johnny J.

CSharp/C# >> ComboBox drop down button

by SmVzcGVyLCBEZW5tYXJr » Fri, 21 Sep 2007 16:32:00 GMT

Thanks Johnny, It works with the following code

private void button1_Click_1(object sender, EventArgs e)
Regards Jesper,

Similar Threads

1. Drop-down buttons, buttons with a drop-down menu, or something else

2. ComboBox drop up instead drop down

Clicking on the Combobox right box it show by default an SelectionWnd BELOW
the combobox,
but I want it show ABOVE the Combobox.
How can I achieve this? Thanks.

3. Determining if a ComboBox will "drop up" rather than drop down

4. Drag&Drop in drop-down portion of a combobox


any idea how to drag and drop text in the drop-down 
portion of a combobox. Standard behaviour doesn't allow 
that. I want to have a similar behaviour as in the Windows 
start menu (i.e. with a black line showing where the 
dragging item will be dropped).


5. Is drop-down menu dropped down?

6. Drop Down Menu In ComboBox and the Refresh bug

I don't know how expressive the subject title is, but 
anyway, when i use a combobox in a windows for i noticed 
that when the manu is collabsed the area that was under it 
is not redrawn in many cases. What is the reason i 
don'tknow, so i tried to handle the situation by trying to 
find an event for menu retract but there is nothing of the 
sort so there is no direct way to handle it, so i went to 
trying to handle the click event, (since the menu is 
retracted by a click) but since there is more than one 
situation for the click event, i had to check that the 
click i am handling is for this situation, so i used 
a "isdropped" property but that also did not reflect my 

7. Auto drop down combobox - CSharp/C#

8. Drop down a combobox programatically ?


I'd like to drop down a combobox after validating the Leave() event, how
can I do that ?