Results 1 to 3 of 3

Thread: Tab Control

  1. #1
    Join Date
    Jun 2004
    Location
    Singapore
    Posts
    28

    Question Unanswered: Tab Control

    Hi,

    I have a Form with Tab control.
    In this tab control there are many Pages in it.
    Now I would like to open the form with a default page, how can i do that?

    Thanks in advance
    oks

  2. #2
    Join Date
    Aug 2004
    Posts
    7
    Simplest way is to Move the page up the page order (ie: on the left) , the tab control normally reads left to right so the page furthest to the left will appear first

  3. #3
    Join Date
    May 2004
    Location
    The Netherlands
    Posts
    52
    You can give a name to each page, eg. pg1, pg2, pg3 and pg4.
    To set focus on page 2 (= pg2):
    Code:
    tcTest.Pages("pg2").SetFocus
    You can also use the index number, but up to me, the way described above is easier and more readable.

    Good luck!

Posting Permissions

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