06-22-2013 04:26 PM
Create a new BlackBerry project in Momentics IDE using Navigation Pane template. It shows how to navigate between pages.
More info is available here, I suggest browsing all these pages:
Also there are many examples on github covering most of the platform's functionality:
Take a look at "cascadescookbookqml" example here, it's a nice demo of UI components.
06-22-2013 06:00 PM
Thanks for your reply.
I have tryed the NavigationPane,i'm developing a login screen with login button to go to home screen and and there is no need to go back to login screen ,so i think NavigationPane wont work ,i wish doing this with Button.
06-22-2013 06:51 PM
You could display a Login page in a Sheet in onCreationComplete handler of main QML. Disable Sheet's peek feature and dismiss the sheet when user logs in successfully, so that the main page is shown.
There are many threads on forum discussing other approaches (replacing a scene etc) which would also work, but I think this is the easiest one.
Some sample code: