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
New Contributor
Posts: 8
Registered: ‎10-04-2013
My Device: Z10
My Carrier: Telcel

How to change a button from another qml

I have a button on a qml is not navigationPane need not be visible, the first time I run the app not visible but the second time it is visible. How I can reset all qml states containing the button.

Contributor
Posts: 15
Registered: ‎08-09-2013
My Device: Developer
My Carrier: -

Re: How to change a button from another qml

You can use a variable used like counter and incrementing when the app start, then if counter is bigger to 1 then button is visible.

like that is your idea? if this is like this, I give you some code how do you do it, else, I don't understand you.

New Contributor
Posts: 8
Registered: ‎10-04-2013
My Device: Z10
My Carrier: Telcel

Re: How to change a button from another qml

yes that is the idea, but at what point do the comparison because what should be done immediately opens the qml.