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: 209
Registered: ‎05-08-2012
My Device: PlayBook 64 Gb and Z10 LE
My Carrier: Vodafone
Accepted Solution

Cascade App

Hi to all.

I write an app with four page ..

I've two questions:

 

1 - is better one file.qml for every page in app or one file .qml for all App pages?

 

2 - In the second page I retrieve input from users an elaborate it. In page four I can't link the variable in page two for visualize the result.

For example: page2 -- C= A+B

                        page4 -- label = page2.C

What's the correct formula?

Sorry for my bad English ..

_______________________________________________

If U like my post click on LIKE Smiley Wink
Highlighted
Retired
Posts: 138
Registered: ‎05-11-2012
My Device: Developer
My Carrier: Developer

Re: Cascade App

It is better to have one QML file per page, this makes it easier to contol things as your app gets bigger.

 

As far as the scope for variables, I suspect you need to use the id's to control what data you are controlling.

 

The sample apps are a good example of organising your data.

 

Graham