Q. How do I make a Combo box drop down when
the control first gets focus?
A. One way that this can be done in VB5 is
with the SendKeys command as follows:
'Put this in Combo1_GotFocus:
If Combo1.ListIndex = -1 Then
SendKeys "{F4}{Down}"
Else
SendKeys "{F4}"
End If
This will make it dropdown and select first item
if nothing is selected or just drop down if there
is an item already selected.
(30-Jul-98 DBotkin voelker@erinet.com)
Downloads
In IE right-click and select 'Save Target As...' or in Netscape
right-click and select 'Save Link As...'
View Plain Text
Not Available
Not Available