Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2001
    Posts
    1

    Unanswered: Tab Control problem

    Hi, does anyone know how I can get the Name of the Page that is selected after the Change event on a Tabcontrol has occured ?

    I'd need a way to know if a certain page withing a Tab Control is opened, so I was thinking of doing it with the help of the Tab Controls Change event, but I can't find a way to figure out which page is active.

  2. #2
    Join Date
    Nov 2001
    Posts
    336
    Me.TabCtl0.Value gives the page number, starting from 0.

    MsgBox Me.TabCtl0.Pages(Me.TabCtl0.Value).Name gives the page name

    HTH, Igor

Posting Permissions

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