Attach the event to the "execute" event instead to the "click" event. "click" is a simple mouse event, while "execute" also includes the key-equivalent e.g. press <ENTER>. You can then easily do a yourButton.execute() from anywhere else.
Sebastian Jim Hunter schrieb: > 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? > > Thanks, > Jim > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 ------------------------------------------------------------------------- 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
