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
Super Contributor
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA

Application Menu - Displaying Pages?

I've added in an application meny for my app, it contains help and settings. I also have a tabbed pane with my main nav in.

 

On click of either help or settings I set off a method.

 

My question is, how do I get each of the help or settings pages to display? Do I push them to a navigation pane?

 

 

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Developer
Posts: 96
Registered: ‎10-06-2012
My Device: Z10
My Carrier: Rogers

Re: Application Menu - Displaying Pages?

You can pretty much do anything you'd like.

In my project I've opened up a sheet based on my app and blackberry user guidlines.

 

Page {

  Menu.definition: MenuDefinition {

    helpAction: HelpActionItem {

            onTriggered: {

                helpSheet.open();

            }

      }

}

.....

 

 attachedObjects: [

        Sheet {

            id: aboutSheet

            AboutSheet {

            }

        }

  ]

} //end of page

 

Btw, in Beta 4 there seems to be an issue with application menu or maybe it's only with Beta 3 apps running built in Beta 4 - not 100% sure but you can check out this thread

http://supportforums.blackberry.com/t5/Cascades-Development/Beta-4-Application-Menu-Issue/m-p/201320...

 

Hope that helps.

Jason I. Carter
Follow me @jasonicarter
Built For BlackBerry - WordsPlus & WordsPlus: Free Edition | word search has never had it so good
www.twocasualcoders.com | never casual on quality
Super Contributor
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA

Re: Application Menu - Displaying Pages?

Do you/can you use peek with a sheet?

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone
Developer
Posts: 262
Registered: ‎07-13-2012
My Device: PlayBook, DA B, DA C, LE Z10 #102, Q10, Z30
My Carrier: T-Mobile

Re: Application Menu - Displaying Pages?

Yes you can peak but you can't "pop" meaning you if you complete the peak all the way to the right the sheet wont close. You need to use a Navigation Pane to do that.
---
Check out my BB10 Cascades Coding site: BBcascades.com & Cascades Blog: bbcascadescode.tumblr.com

My Built for BlackBerry app: The Dive Plan
Super Contributor
Posts: 440
Registered: ‎01-13-2011
My Device: Playbook
My Carrier: NA

Re: Application Menu - Displaying Pages?

But how do you code this? C++ preferably.

 

After setting:

 

Application::instance()->setScene(tabbedPane);

 

How to I set a navigationPane to go over the top?

--------------------------------------------------------------------------------------------------
BlackBerry Apps: Instruments | ARTPAD | Piano | Drums | Xylophone