"Jim Hunter" <[EMAIL PROTECTED]> writes: > This will be an easy one for most of you to answer but I am a bit brain dead > right now. I have some code that I posted to the "click" event of a button. > I would like to call that code, or issue a click of the button, from another > part of the program. I have tried to simply call the click() method of the > button but that didn't work. What simple little thing am I overlooking?
The easiest way seems to be to make it NOT an anonymous function. Declare the function normally (with a name), and pass that name to the addEventHandler() function instead of passing the anonymous function. Derrell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
