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
Contributor
pseudonym27
Posts: 14
Registered: ‎03-06-2013
My Device: Blackberry 10 Simulator

Open new page cascades

HI imagine I have some Page in QML.

When user clicks a button on this Page, I want

to open a different Page.

Is using NavigationPane the only way to do it?

Or it is possible also in other way?

Thank you.

Developer
Zmey
Posts: 1,512
Registered: ‎12-18-2012
My Device: PlayBook, Z10, DAC

Re: Open new page cascades

Hi! You can also show it in a Sheet. Sheet is similar to modal dialog.

 

Pages can be shown using NavigationPane, TabbedPane or Sheet. It's also possible to put NavigationPane into TabbedPane.

 

http://developer.blackberry.com/cascades/reference/bb__cascades__sheet.html

http://developer.blackberry.com/cascades/reference/bb__cascades__tabbedpane.html

 


Andrey Fidrya, @zmeyc on twitter
Contributor
pseudonym27
Posts: 14
Registered: ‎03-06-2013
My Device: Blackberry 10 Simulator

Re: Open new page cascades

Hi, but the sheet always shows from bottom to up direction right?
Developer
Zmey
Posts: 1,512
Registered: ‎12-18-2012
My Device: PlayBook, Z10, DAC

Re: Open new page cascades

Right. If you need custom animations you can create a Container offscreen, then move it into the screen using animations and absolute positioning, but this won't be a simple task and won't support peek gesture.

Andrey Fidrya, @zmeyc on twitter