• return name of active page of tab control (2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » return name of active page of tab control (2000)

    Author
    Topic
    #395637

    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

    Viewing 1 reply thread
    Author
    Replies
    • #735948

      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

    • #735949

      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

    Viewing 1 reply thread
    Reply To: Reply #735956 in return name of active page of tab control (2000)

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

    Your information:




    Cancel