Combo Box

K

Kathy

I have a combo box on a form that I want to automatically
drop down when the form is opened. (A request from the
user).

I don't have a problem using me.combobox.dropdown, but I
find that when the form is opened the dropdown is not
attached to the combo box, it shows up in a different
place on the form every time.

HELP !
 
G

Guest

If you are trying to use .dropdown in your code when the
form is opening, you will get weird things. Instead,
make the combo the TAB 0 and then go to the GotFocus
event of the control and put in your me.control.dropdown
code. This way, the form will completely load and then
is moves its focus to the first tab set control (zero
based). When the form sets the focus on the control it
will fire the GotFocus event.

ds
 

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