Get correct coordinates/size of webdialog

Hi,
Trying to get correct left,top,weight, height of a webdialog:palette and save to cookies. But without getting an error the numbers are not correctly and can’t keep its size position. I use me.left, me.top etc to save cookies… Any help on it? …
the
theLeft = webdialog.page.left
does not work, i think…

Correction: I mean of an instance of a webdialog class on a webpage.

Your code would get the Left for the page that holds the webdialog

Try
theLeft = webdialog.left