Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    4
    Vote Rating
    0
    mkarthik415 is on a distinguished road

      0  

    Default TabIndex of the selected tab in tabpanel

    TabIndex of the selected tab in tabpanel


    Hi..

    I am trying to create an listener for tabpanel on Onselect event when a tab is selected. And I using below code.

    It always alerts as 1, when any tab is selected. Can anyone please suggest any input on this.

    Code:
    eventTab.addListener(Events.Select, new Listener<TabPanelEvent>() {
                      public void handleEvent(TabPanelEvent be) { 
                               Window.alert(" selected tab index is"+be.getIndex); 
                               } 
               });
    Thank you.

  2. #2
    Sencha User
    Join Date
    Nov 2012
    Posts
    4
    Vote Rating
    0
    mkarthik415 is on a distinguished road

      0  

    Default


    I have also tried.
    Code:
    be.getSelectedItem().getTabIndex()
    still I keep getting 1 as the tabindex fro selected tab.

Tags for this Thread