10-30-2012 03:01 AM
You can check the sample from the github and project name is CascadeCookBookqml.
In the Assets folder button.qml contain the ImageButton Demo you can refer that.
feel free to accept as a solution or like the post.
10-30-2012 05:10 AM - edited 10-30-2012 05:10 AM
You can use onTouch slot to do so.
if(event.touchType == TouchType.Up)
You may use other TouchType too.
10-30-2012 05:26 AM
You can use ImageButton in this case. Provide defaultImageSource to it. & in its onClicked event you can handle its tap just like in Button.
\\ your stuffs
you can refer this link: https://developer.blackberry.com/cascades/referenc