In sequence to my prior posting I just came across one of the reasons why I was confused about things in relation to this topic:

If you create the QxButton without a label parameter then there is no label object. I used setLabel("...") after the code which tried to set some label attributes.

like so:

  btn = new QxButton;
  btn.getLabelObject().setBackgroundColor(new QxColor("yellow"));//error
  btn.setLabel("BUTTON");
  btn.getLabelObject().setBackgroundColor(new QxColor("yellow"));//ok

for a while I didn't get anywhere when trying to figure out how to access that label.

Thought it might help you as well when figuring things out...

Cheers

Ralf


-------------------------------------------------------
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

Reply via email to