• Default Tab-Page (Access 2003)

    Author
    Topic
    #428747

    I have a 3 page tab control inserted in a form. During the design of the form I’ve changed the tab order around (new order is Page2, Page1, Page3). Now when I open the form, the tab control is defaulted to Page1 (second tab) instead of Page2 (first tab). I’ve looked everywhere for an option to change this, but can’t find anything. Does anyone know how I can default the tab-page to Page2?

    Thanks,
    Drew

    Viewing 1 reply thread
    Author
    Replies
    • #996742

      Have you tried setting the Page Index property of Page2 to 0?

      • #996746

        Yes…
        Page2 (Page Index = 0)
        Page1 (Page Index = 1)
        Page3 (Page Index = 2)

        Still defaults to Page1.

        Regards,
        Drew

    • #996755

      Check your code to see if you’ve set TabCtl.Value = 1 (or whatever the name of your tab control is).

      • #996762

        Mark,

        I overlooked the fact that I had a setfocus command used on an open event that set focus to a control on Page1.
        I changed this and it now pops up on Page2.

        Thanks for the help,
        Drew

    Viewing 1 reply thread
    Reply To: Default Tab-Page (Access 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: