Author Topic: Tab buttons toggling.  (Read 1563 times)

wallabie

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 200
    • View Profile
Tab buttons toggling.
« on: March 22, 2014, 11:17:15 PM »
Using the Tab example:

I would like to make the button keep a particular state when it is selected and toggle off the previously selected tab.  For instance,

1. given Tab1 and Tab2.
2. user clicks on one Tab1, Tab1 displays tabOn state and disabled.
3. user clicks on Tab2, Tab2 displays tabOn state and disabled.  Tab1 changes to tabOff state and becomes enabled.

Is there an example of how to do this. 

Cheers

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Tab buttons toggling.
« Reply #1 on: March 23, 2014, 02:51:22 AM »
Have you seen the Example 13 - Tabs?

wallabie

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 200
    • View Profile
Re: Tab buttons toggling.
« Reply #2 on: March 23, 2014, 04:16:59 AM »
Oh yes, purfect.  Somehow I missed this example.