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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Developer
Zukka
Posts: 173
Registered: ‎05-08-2012
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 .. :Helpsmilie:

_______________________________________________

If U like my post click on LIKE :smileywink:
Please use plain text.
BlackBerry Development Advisor
gperry
Posts: 138
Registered: ‎05-11-2012
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

Please use plain text.