Expose new onFocus to python
#1
a lot of scripts have hobbled together a focus event by listening for movement-inducing action (up down left right page_up page_down scroll_up scroll_down) and spinning off another thread to avoid a race condition. this is awkward though and not all know how to do it. new code added to the scripting engine provides an elegant solution.

i saw in the changelog
Quote: - 25-01-2006 added: <onclick> (replaces <execute>) and <onfocus> actions to the button control. the <onfocus> action is performed at the end of any focus animation.

having onfocus exposed to python would be great. it would be very similar to oncontrol i imagine.



Reply

Logout Mark Read Team Forum Stats Members Help
Expose new onFocus to python0