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

Posts: 188
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: {
            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?



I have the Dev Alpha with Os

Follow me in Twitter:


BBM Channel:

MarcossitDev: C0002C366  

DeviceSuite For BlackBerry 10:

Link to Download DeviceSuite:

Support was successful? Accept as Solution and click on:

Posts: 692
Registered: ‎08-09-2010
My Device: Not Specified

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



 Please check out below link




 Use ComponentDefinition.





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