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
Developer
Posts: 230
Registered: ‎01-12-2013
My Device: z30
My Carrier: Mobile Vikings

Settingspage in navigationpane in tabbed application

Hello developers

 

I have a question regarding the settings screen. In every application of BlackBerry (and in some 3rd party applications), the settings page is opened in a navigationpane. Which is the most logical way because the settings do not need to be saved via a button. 

 

But how can I do it in a tabbed application? It's not possible to add tabs to a NavigationPane but it should be possible to open the settingspage on every tab like in the calendar app, BB World and so on.

 

How can I achieve this?

 

Thanks in advance!

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

Re: Settingspage in navigationpane in tabbed application

You can use a Sheet, though then you don't get the Back button unless you can fake it.

You can also just make the base pane for each of your Tabs contain a NavigationPane, and push the settings page onto whichever one is current. That's what I do...

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: 230
Registered: ‎01-12-2013
My Device: z30
My Carrier: Mobile Vikings

Re: Settingspage in navigationpane in tabbed application

Thanks for the tip!

 

______________________________________________________
BB10-OAuth: GitHub