Results 1 to 3 of 3
  1. #1
    Star Lounger
    Join Date
    Sep 2002
    Location
    New York, New York
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts

    return name of active page of tab control (2000)

    Is there a way to return the name of the currently active page of a tab control. I have no problem returning the page index, but I want to work with the page name.

    thanks,
    karl

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

    Re: return name of active page of tab control (2000)

    Say that the control is named MyTab. You can use this:

    Me.MyTab.Pages(Me.MyTab.Value).Name

    If you have set captions for each tab page explicitly, you can also refer to those:

    Me.MyTab.Pages(Me.MyTab.Value).Caption

  3. #3
    Star Lounger
    Join Date
    Sep 2002
    Location
    New York, New York
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: return name of active page of tab control (2000)

    perfect. as always, Hans, you're the greatest.

    -K

Posting Permissions

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