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
Regular Contributor
mdmdev
Posts: 75
Registered: ‎11-30-2012
My Device: curve
My Carrier: airtel
Accepted Solution

navigting to first page in navigation pane

I have a app that has lots of pages..... So when I navigate and reach a page, based on some condiion i want to go to the first page ... is there any way to do it.?

 

I am using QML for creating the pages.

 

-thanks

Please use plain text.
Developer
laurentC
Posts: 266
Registered: ‎02-05-2010
My Device: Blackberry Z10
My Carrier: Bouygues Telecom

Re: navigting to first page in navigation pane

I thought we were limited to 3 pages with Navigation Pane ???

 

Anyway, you know the page name, so push it...

Twitter : @LaurentKP
My apps
Please use plain text.
Developer
simon_hain
Posts: 15,863
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: navigting to first page in navigation pane

http://developer.blackberry.com/cascades/reference/bb__cascades__navigationpane.html#function-naviga... looks like it would provide this functionality.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
javayoung
Posts: 313
Registered: ‎05-31-2010
My Device: Alpha 10, Bold 9900, Storm 9530, Tour 9630, Curve 9320, Curve 8900
My Carrier: All

Re: navigting to first page in navigation pane

There is a good sample at the bottome in this link:

 

navPane.navigateTo(firstPage);

 

http://developer.blackberry.com/cascades/documentation/ui/navigation/multiple_screens_stack.html




p(^_^)q
Good good study, day day up
Please use plain text.