Using Combo and List boxes

P

pvp

Now this is going to sound really stupid and I ought to
know thew answer... But I have never had to do it! (8v/)
When filling in a form, is there a way to expand a Combo
or List Box to show its values without clicking on the
little down-arrow with the mouse?

Thanks, fellow geeks.
 
J

Jay A.

On the MouseMove event for the List box use the DROPDOWN event.
Private Sub Combo0_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
Combo0.Dropdown
End Sub

Or on the Form Load porting of the form, use:
Private Sub Form_Load()
Combo0.Dropdown
End Sub


Jay
 
P

pvp

Many thanks for that, jay.
-----Original Message-----
On the MouseMove event for the List box use the DROPDOWN event.
Private Sub Combo0_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
Combo0.Dropdown
End Sub

Or on the Form Load porting of the form, use:
Private Sub Form_Load()
Combo0.Dropdown
End Sub


Jay





.
 

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