04-28-2013 12:47 PM
I have 3screens, in 1st screen am using navigation pane to move to next screen,navigationpane.push() method by dynamic page creation method,but now am issue is how i should go from 2nd screen to 3rd screen onclick of button ,i tried by using navigation pane but i cant use it navigation pane here again so plz suggest me any ways to implement it
04-28-2013 02:01 PM
Only the first screen should have the Navigation pane. The rest are just pages. But in the other pages you need the original 'nav' variable to use for pushing. What I do is in the first screen's page [onCreationCompleted] I set a global variable Qt.nav = navigator (navigator is the id of the navigation pane).
Then in all of the other pages you can use Qt.nav to access to original navigation pane.
Hope that makes sense.