Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Highlighted
New Developer
Posts: 28
Registered: ‎12-19-2012
My Device: BB 10
My Carrier: BB

'activeTabChanged' only working for two / three times

Hello All,

I am using the TabbedPane to show the different sreens, When I tap on a tab it fires the SIGNAL (activeTabChanged) got to another tab also fires the same trying two /three  times works fine but after that Its not getting called.

 

 

Note: I am using a 'Screen' Class which is having a 'm_pPage' pointer created as a class member for testing purpose I am assigning it as 'new Page()'  with no child at all.

 

Also, if I add content to the 'Tab' pointer directly it works fine like

m_pTabedPane->add(Tab::create().title("Videos").content(new Page()));

 

But, If i do like 

m_pTabedPane->add(Tab::create().title("Videos").content(m_pMovieScreen->page()));

same problem as discussed above.

 

The 'm_pMovieScreen' pointer created as

m_pMusicScreen = new MusicScreen();

m_pMovieScreen->setPage(new Page());

 

 

Plese help me in this as I am in urgent need of it.

 

Regads,

Dhanesh