RLI:Open a form and automaticaly rolldown Combox options

  • Thread starter Thread starter Rob
  • Start date Start date
R

Rob

Hello all,
I would like to create code in a form button that opens a popup form with
the cursor automaticaly going to a combobox and automaticaly rolling down the
combobox values without clicking on anything.
Is that possible?
 
Rob said:
Hello all,
I would like to create code in a form button that opens a popup form with
the cursor automaticaly going to a combobox and automaticaly rolling down
the
combobox values without clicking on anything.
Is that possible?

Sure. In your popup form's OnLoad event procedure, put:

With Me.ComboName
.SetFocus
.DropDown
End With

Just replace ComBoName with the actual name of your combo.
 
Back
Top