Hi Filippo,

To update all references relative to the drawArea (or whatever view you want
to change) you
should use the method
view.setAttribute("x",$value);

for example:
<view name="_drawarea" width="100" />
<view name="_border" x="${ parent.drawarea.width }" />

if you say:
drawarea.width = 200;
=> the x-value of "_border" won't update (but its less CPU intensive)

but if you say:
drawarea.setAttribute("width",200);
=> the x-value of "_border" WILL update (but its more CPU intensive as it
will update also all delegates)

See also this chapter in the OpenLaszlo reference:
http://www.openlaszlo.org/lps4.8/docs/developers/methods-events-attributes.html#d0e73194

To get a reference to the whiteboard you can use:
canvas._drawarea (as you also have found out)

Sebastian

2010/10/1 Netbuilder <[email protected]>

> Another stupid questions... I'm modifying baseDrawWords.lzx
> How can I access drawViewInner.y or drawArea.y property?
>
> I've tried canvas.drawArea.y but it doesn't work.
> Thank you
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<openmeetings-user%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/openmeetings-user?hl=en.
>
>


-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.wagner-sebastian.com
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to