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

Posts: 407
Registered: ‎04-04-2012
My Device: BlackBerry Z30/Z10/Z10LE/Q10/PlayBook

Single Tab on Tabbed Pane

This is in the docs.


If the TabbedPane has only one Tab and the content of that Tab has no actions, the Action bar is not displayed since there aren't any additional tabs or actions to be displayed.


Are the actions in the tab section or the page section so the single tab will be displayed?

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

Re: Single Tab on Tabbed Pane

The Tab object has no Actions, so they must be referring to whether you have Actions in the AbstractPane subclass which is assigned to the "content" property of that one Tab. https://developer.blackberry.com/cascades/reference/bb__cascades__tab.html

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!
Posts: 87
Registered: ‎07-23-2009
My Device: Z30
My Carrier: XL

Re: Single Tab on Tabbed Pane

I think you can use onTrigger action on the tab