Hi Robin,

from memory there is a getAttributeRelative() method. For instance, this.getAttributeRelative('x', canvas) will give you the x-coordinate of the given view with respect to the canvas.

Cheers

Jens

Robin Sheat wrote:
Hi, I have a view and I want to find out its coordinates relative to the 
canvas. Is there a nice way of doing this, short of recursing up the view 
heirarchy?

Robin.

  
begin:vcard
fn:Jens Richnow
n:Richnow;Jens
adr:Riccarton;;9A Homer Place;Christchurch;;8004;New Zealand
email;internet:[EMAIL PROTECTED]
title:Director
tel;cell:021 2300078
x-mozilla-html:TRUE
url:http://www.framedobjects.com
version:2.1
end:vcard

Reply via email to