Opening Comboboxs' Programatically

SonicBoomAu

Centurion
Joined
Oct 30, 2003
Messages
179
Location
Australia
I noticed that you are able to open DateTimePicker programatically.

Is there a way of doing this for combo box's.

I tried the SendKeys.Send("%{DOWN}") on the Enter and GotFocus events.
But nothing happenned.

Any Ideas????
:rolleyes:
 
you're right, SendKeys.Send("%{DOWN}") only works with DateTimePicker.

But don't worry, you still have two ways to do it with your combo box:

SendKeys.Send("{F4}")

or

MyComboBox.DroppedDown = True
 
m_oliveira said:
you're right, SendKeys.Send("%{DOWN}") only works with DateTimePicker.

But don't worry, you still have two ways to do it with your combo box:

SendKeys.Send("{F4}")

or

MyComboBox.DroppedDown = True
The MyComboBox.DroppedDown = True.

Works the best for me.
Thank you
 
Back
Top