manual set focus on control in form.load

  • Thread starter Thread starter swegele
  • Start date Start date
S

swegele

Help...seems so simple dang but I can't figure it out!!

Regardless of tab order...I want a consistent way to:

1. set focus on a combo box on form load
2. on gotfocus of combo box to droppeddown = true

Whatever I do, tab order overrides seemingly after form load...which
closes the combobox.

If I try and do this on Form.Activate then it would fire over and over
if they switched between windows. I only want it to fire once when the
form first loads.

Has anyone else figured out a way to handle this...I come accross this
all the time and setting tab order doesn't always work given complex
forms.
 
swegele said:
Regardless of tab order...I want a consistent way to:

1. set focus on a combo box on form load

Call the control's 'Select' method.
 
Back
Top