drop down list

Y

yaniv d

hi all,
i'm trying to open the combo box list on form load but its not working
from some reason
set focus to the combo box and then add dropdown
its just giving focus to the combo box but do not open automatic the
list
this is the code:
Private Sub Form_Load()

me.combo.setFocus
Me.combo.Dropdown

End Sub
 
F

fredg

hi all,
i'm trying to open the combo box list on form load but its not working
from some reason
set focus to the combo box and then add dropdown
its just giving focus to the combo box but do not open automatic the
list
this is the code:
Private Sub Form_Load()

me.combo.setFocus
Me.combo.Dropdown

End Sub

It works for me, however the drop-down list is positioned further
down from the combo box than normal. The Load event is a bit too early
in the form open sequence.
 
Y

yaniv d

thanks,
i believe that its a metter of pre function and pre setting that do not
work on form load
 

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