Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2003
    Posts
    43

    Red face Unanswered: Tab control problem

    I have a Tab control in a Form
    The Tab Pages have subforms. When I open the main form, it scrolls automatically, so that the names of tab pages are outside the visible area. How can I set the focus on the tabs rather than on the first field of the subform ?

    Thanks in advance for your help,

    Chiron

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    I do not fully understand your question. Is this a question of tab order?

  3. #3
    Join Date
    Aug 2003
    Location
    Huntington Beach, CA
    Posts
    9

    Re: Tab control problem

    Originally posted by Chiron
    I have a Tab control in a Form
    The Tab Pages have subforms. When I open the main form, it scrolls automatically, so that the names of tab pages are outside the visible area. How can I set the focus on the tabs rather than on the first field of the subform ?

    Thanks in advance for your help,

    Chiron
    Assuming that you can't turn off the Tab order...You would want to create an Event Procedure in the subform or whereever the cursor has gone to to give focus back to the desired text box:

    Me.[text box name].SetFocus

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •