Keyboard Navigation Subform / Main form

G

Guest

Id like to be able to tab through all the controls on a form which has a
subform. for example: my main form has 2 textboxes, txt1 and txt2. the
subform, 2 other - txt3 and txt4. the tab order is in ascending order of the
control names. if txt4 is the active control, id like the focus to move to
the main form's txt1 when I hit the tab keyboard key. How is that achieved?
 
A

Allen Browne

Add another text box to the end of the tab order in the subform. You can
make it very tiny so it's not really visible. Use its GotFocus event to save
the record and SetFocus back to the main form.
 

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

Similar Threads


Top