PDA

View Full Version : sending position attributes to a server


shoey
09-02-2007, 12:32 PM
Hey,

is there a way to send the screen position (x, y) of every element (views, button, etc.) to a server?

I need this for unit testing... Maybe the debugger of OpenLazlo is able to do that?

The only thing I found, was this:


<method name="init">
super.init();
Debug.write('width: ' + this.getWidth());
<!-- and so on... ->
</method>

But I can't write code to every element...

Any hints? Thanks for reading...

Regards,

Shoey

hipik
09-03-2007, 01:42 AM
OK, an idea...
Iterate through everything from canvas.subviews with some while loops!!!

Cheers.

Hipik ZM