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.
 

>>> Tranninger Harald <[email protected]> 9/27/2010 1:32 >>>

HI,
 
one question,
 
 
I have following code:
 
desktop.add(button1, {left: 500, top: 500});
 
But now I want to get my left and top position from an array like
this:
 
desktop.add(button1, {left: array[0][1], top: array[1][1]});
 
So now it doesn´t work anymore. Which type should it be? 
 
desktop.add(button1, {left: array[0][1].toString(), top:
array[1][1].toSTring()});
 
doesn´t work!
 
 
Please help
 
 
------------------------------------------------------------------------------
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