Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
How do I get the old tab info...
posted

I'm using the UltraWinTabControl (v.8.2) and I need to know the tab I'm leaving as well as the current selected tab.

Scenario:

  • I have three tabs visible (Tab1, Tab2, and Tab3).
  • Tab1 is the current selected/active tab.
  • When I click on Tab3 that becomes the selected/active tab

How do I get the tab I came from (Tab1)?

Any code examples of how I can do this is appreciated.

 

  • 71886
    Offline posted

    Hello,

    You could hook to the 'ActiveTabChanged' event and access the 'PreviousActiveTab' property of the 'ActiveTabChangedEventArgs' parameter. It will give you the tab that you are comming from.

    Please do not hesitate to ask if something comes up.