Results 1 to 4 of 4
  1. #1
    2 Star Lounger
    Join Date
    Oct 2007
    Posts
    172
    Thanks
    0
    Thanked 2 Times in 1 Post

    Multipage control - Tab value of Page (2003)

    Hi,

    question:

    Can I rely on the fact that the order of the pages as they are visible on the screen is the same as the order of the pages in the Pages Collection of the multipage control? It seems to be true from inspection, but that may just be luck :-)

    cheers!

    Dom

  2. #2
    2 Star Lounger
    Join Date
    Oct 2007
    Posts
    172
    Thanks
    0
    Thanked 2 Times in 1 Post

    Re: Multipage control - Tab value of Page (2003)

    I guess i could also ask: is the Index property of the Page control (i.e. the position in the Pages collection) the same as the tab value of that page?

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Multipage control - Tab value of Page (2003)

    Yes, by definition.

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Multipage control - Tab value of Page (2003)

    Yes, the Value of the MultiPage control is the index of the active page. Keep in mind that the index is zero-based, i.e. the first tab has index 0. The Value property can be read and written, for example you can make the 3rd page active by setting the Value to 2:

    Me.MultiPage1.Value = 2

    where MultiPage1 is the name of the control.

Posting Permissions

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