Zavel
21 Feb 2012, 5:27 PM
Hi, i've been attempting to use a controller and connect it to a button (using Sencha designer 2).
I added a controller, and then a controller action. In the action i've specified that the target type is "button", which then gives me a dropdown of choices for the EventBinding name - from which i selected "tap". My ControlQuery is set to "button" which maps the listener to listen for tap events coming from all buttons (i'm assuming).
While this listens to all tap events from all buttons, how is it possible to listen for a tap event coming from one specific button? is that the way to do it?
Please let me know.
Thanks,
Shane.
I added a controller, and then a controller action. In the action i've specified that the target type is "button", which then gives me a dropdown of choices for the EventBinding name - from which i selected "tap". My ControlQuery is set to "button" which maps the listener to listen for tap events coming from all buttons (i'm assuming).
While this listens to all tap events from all buttons, how is it possible to listen for a tap event coming from one specific button? is that the way to do it?
Please let me know.
Thanks,
Shane.