2011-09-09, 21:28
Hi,
I'm building a little script example where a simple button should launch a click event. Following the tutorial steps I saw the function onControl is supposed to be called whenever a mouse or keyboard event is caught, but it seems not to work in the version I have installed. Nothing happens when the button is clicked. Here is my code:
http://pastebin.com/yk8nw0VT
Why didn't it work?
Thanks in advance.
I'm building a little script example where a simple button should launch a click event. Following the tutorial steps I saw the function onControl is supposed to be called whenever a mouse or keyboard event is caught, but it seems not to work in the version I have installed. Nothing happens when the button is clicked. Here is my code:
http://pastebin.com/yk8nw0VT
Why didn't it work?
Thanks in advance.