Von: Robert Nimax [mailto:[email protected]]
Gesendet: Montag, 27. September 2010 13:37
An: qooxdoo Development
Betreff: [qooxdoo-devel] Antw: (no subject)

Hi Harald,
did you try to cast the value to "Number" like this:

desktop.add(button1, {left: Number(array[0][1]), top: Number(array[1][1])});
or maybe anything like this:

desktop.add(button1, {left: new Number(array[0][1]), top: new 
Number(array[1][1])});

Regards,
rob.


Thank you very much! Typecast Number().. worked!!

Sometimes it´s so difficult for me to find out which types are required in 
qooxdoo or better to say in javascript!

Thanks a lo!

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to