Hi Jim, Jim Hunter wrote: > It never fails, you can work on something forever and not figure it out but > the minute you post a question you see the answer. The way to add state to > a button is with addState() method, DOH! The only thing I did discover was > that the older constants that I had a note on do not work and all you need > to do is pass in the string 'pressed' to the method. So it simply looks > like: > > btn.addState('pressed') > > or > > btn.removeState('pressed'); Did you took a look at the class "qx.ui.toolbar.CheckBox"? Sounds to me that this widget may also provide you the needed features.
cheers, Alex ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel