Combo Box

  • Thread starter Thread starter Kathy
  • Start date Start date
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 !
 
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
 
Back
Top