Using Combo and List boxes

  • Thread starter Thread starter pvp
  • Start date Start date
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.
 
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
 
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





.
 
Back
Top