how to know when the tab of tabgroup change?

You must Login before you can answer or comment on any questions.

Hey

how can I display an alert every time that I change my tab?

I want to display an different button every time that I change to another tab

it's better if I can check this inside the tab selected... because I know that the funcions only work for the first time that you open an tab to don't rebuild all the window... but I need to check this every time I enter in an tab

1 Answer

Because you will be changing to a new tab, you can grab your tab from inside the 'click' event handler:

e.source.activeTab.* for example e.source.activeTab.title

— answered 9 months ago by Stephen Feather
answer permalink
5 Comments
  • I want to display an button in my tab1 when I enter and remove this button when I change to tab2 and be able to do this every time that I enter in tab1 and leave

    but I don't know how to do that :(

    — commented 9 months ago by Douglas Hennrich

  • um, you cant display a button on 'your tab'

    You can however add a button to the window that is on your tab.

    — commented 9 months ago by Stephen Feather

  • how about you draw it up in a skitch since your words/terms are unclear.

    — commented 9 months ago by Stephen Feather

  • Show 2 more comments

Your Answer

Think you can help? Login to answer this question!