Auto-dropdown ComboBox

J

JezB

How can I cause a combo box to automatically drop down its list of values
when the user moves the mouse over it ?
 
H

Herfried K. Wagner [MVP]

JezB said:
How can I cause a combo box to automatically drop down its list of values
when the user moves the mouse over it ?

\\\
Private Sub ComboBox1_MouseEnter( _
ByVal sender As Object, _
ByVal e As EventArgs _
) Handles ComboBox1.MouseEnter
If Not Me.ComboBox1.DroppedDown Then
Me.ComboBox1.DroppedDown = True
End If
End Sub
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top