tab out from subform

  • Thread starter Thread starter Serguei Makacharipov
  • Start date Start date
S

Serguei Makacharipov

I have a set of controls and subform in subform. I couldn't find the way to
make this subform in subform tabbed out.
it takes the focus and no playing with properties did help to force it to
move focus out.
Will apreciate any advice.
Thank in advance.
Serguei Makacharipov
 
Put a tiny textbox in the subform (height and width both 0). Make this
textbox the last control in the tab order. In the OnGotFocus event for the
textbox, put this code:

Private Sub txtBoxName_GotFocus()
Forms!MainFormName!ControlOnMainForm.SetFocus
End Sub
 
Cool!
And not expensive!
Thank you very much!
Serguei Makacharipov
 

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

Back
Top