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
marcossit
Posts: 175
Registered: ‎07-19-2012
My Device: Z10 Limited Edition and Dev Alpha C
My Carrier: Movistar-Venezuela
Accepted Solution

Error ImageButton invoke .qml (cascade beta 3)

Hello friends, after beta 3 came the cascade had several mistakes by new variables and certain command strings in my WebMobile, entiendiendo already achieved some fix a little problem I have had this code working perfectly in the beta 3 I have a button invoked a qml

 

        ImageButton {
            id: donar
            defaultImageSource: "asset:///images/donacion.png"
            pressedImageSource: "asset:///images/donacion.png"
            layoutProperties: AbsoluteLayoutProperties {
            }
            onClicked: {
            navigationPane.deprecatedPushQmlByString("donaciones.qml");
            }
            preferredWidth: width
            preferredHeight: height
            translationX: 80.0
            translationY: -60.0
        }

 

But when I run the application in the alpha dev and I click the ImageButton I opened the QML, I think it is due to the structuring new programming language, would help me with this problem to invoke the QML?

Greetings.

 

I have the Dev Alpha with Os 10.0.9.44


Follow me in Twitter:

@Marcossit

BBM Channel:

MarcossitDev: C0002C366  

DeviceSuite For BlackBerry 10:

Link to Download DeviceSuite:

Support was successful? Accept as Solution and click on:


Please use plain text.
Developer
shahumang8
Posts: 641
Registered: ‎08-09-2010
My Device: Not Specified

Re: Error ImageButton invoke .qml (cascade beta 3)

Hello,

 

 Please check out below link

 

 https://developer.blackberry.com/cascades/documentation/dev/dynamic_qml/index.html

 

 Use ComponentDefinition.

 

Thanks.

 

--------------------------------------------------------------------------------------------------------------------------------------------

feel free to press the like button on the right side to thank the user that helped you.

Please use plain text.