Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    387
    Thanks
    0
    Thanked 1 Time in 1 Post

    Which Tab did I click on? (XP / 2003)

    When you click on a tab in a tab control it does no fire the click event for that page. You have to click in the body of the page for the click event to fire. So How can I get the name of the page that a user selects?

    My aim is to keep the focus on this tab when the user navigates to another record.

  2. #2
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    387
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Which Tab did I click on? (XP / 2003)

    That makes it easy - thanks' John

  3. #3
    Super Moderator
    Join Date
    Jun 2002
    Location
    Mt Macedon, Victoria, Australia
    Posts
    3,993
    Thanks
    1
    Thanked 45 Times in 44 Posts

    Re: Which Tab did I click on? (XP / 2003)

    When you click on a Tab the On Change event of the Tab Control is fired.
    The Value of the Tab Control is the Page Index of the page you last clicked.
    Regards
    John



Posting Permissions

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