1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Access 2002 TAB Control set focus prob

Discussion in 'Business Applications' started by deanziegler, Apr 1, 2004.

Thread Status:
Not open for further replies.
  1. deanziegler

    deanziegler Thread Starter

    Joined:
    Mar 16, 2004
    Messages:
    16
    i have a tab control on a form with three buttons/tabs. I want to set focus to a control in a subform in the first tab. i set the OnCLICK event for the BUTTON in the first tab to set focus to the subform and then the control. When i run the form and click the BUTTON nothing happens but if i click on the side of the current tabform/page like where the control shows the "detail" section the design mode THEN the control receives focus. I put the code in the BUTTON event section and NOT the detail event section . Anyone know whats going oon here with this or what im doing wrong? prob ALL i want is to click on the BUTTON not the "DETAIL" part of the page and have the OnClick event happen. this is really confusing me. THANKS!
     
  2. deanziegler

    deanziegler Thread Starter

    Joined:
    Mar 16, 2004
    Messages:
    16
    ok never mind cancel this one too ....dont need any events or code.to do this.

    i simply wasant setting the tab order of the current PAGE to the second subform which is the one i wanted setfocus to when activated. i then set taborder to the control on that subform i wanted first and works fine now - someday maybe ill grow a brain..
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/216520

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice