RLI:Open a form and automaticaly rolldown Combox options

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?
 
S

Stuart McCall

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.
 

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