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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 163
Registered: ‎04-28-2012
My Device: BlackBerry 9800
My Carrier: BlackBerry

How to change/replace the tabs on the action bar(bottom) in Tabbed Pane?

Hi,

 

    Is there any way to replace the tabs on the actionbar.In my application first  i have tab1,tab2 and tab3 on the action bar after an action for eg: button click etc., i want to replace the tabs and show tab4,tab5 and tab6 on the action bar. Please reply me fast it is very urgent for me.

 

 

Regards,

Naresh.

Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: How to change/replace the tabs on the action bar(bottom) in Tabbed Pane?

If you change the order of the tabs, then you could have 4, 5, and 6 appear there. Which ones appear there is tied to the order, so you have no other options except if you want to remove all tabs from the action bar (showing them only in the tab area) and "fake" it with Action items instead.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 163
Registered: ‎04-28-2012
My Device: BlackBerry 9800
My Carrier: BlackBerry

Re: How to change/replace the tabs on the action bar(bottom) in Tabbed Pane?

[ Edited ]

Hi,

   

    Thanks peter for ur reply,Got the solution.

 

 

 

Regards,

Naresh Kodumuri.

Highlighted
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10
My Carrier: none

Re: How to change/replace the tabs on the action bar(bottom) in Tabbed Pane?

I don't have time to look over the code right now (maybe someone else can) but I was just pointing out that the TabbedPane has a particular way that it works, and you can't change that. If you allow Tabs to appear in the ActionBar, then the first three Tabs will appear there... you're stuck with that if you show Tabs in the action bar.

If you want to fake it with regular Actions, simulating links to other Tabs, then you could do that, but of course it's also then your job to manage the other Actions that would otherwise appear there. If you have others present, but you don't want them moving to the overflow area, then you'll have to remove them temporarily.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!