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: 251
Registered: ‎11-22-2011
My Device: Blackberry Playbook
My Carrier: vodafone
Accepted Solution

NavigationPane and deprecatedPushQmlByString questions

I have a few beginner questions:

I am exploring the NavigationPane component in QML and the recommended method to push pages is "deprecatedPushQmlByString()". But the API documentation says, that this method is temporary and will be replaced. So what to use instead? 

And a second question: when i use this method, how do i have access to the pushed page from inside the NavigationPane (which is the parent component), for example to set a property of the the pushed page? Can i instead define the pages inside the navigationPane to get a reference to every page an then push them when needed? 

Developer
Posts: 275
Registered: ‎02-05-2010
My Device: Blackberry Z10
My Carrier: Bouygues Telecom

Re: NavigationPane and deprecatedPushQmlByString questions

Look at the navigationpane documentation a little further it explains how you can use attachedobjects with an example. 

Twitter : @LaurentKP
My apps