Good evening everyone. I've got an incredibly weird issue at the moment with some frames.
I am using FrameName.GetXPosition() and it's returning 125. However, if I put a button at the same positon of the frame, it comes back as position 10?
In the designer the frames left position is 10, as it the temporary button I created.
I've tried running the publication in window and fullscreen to see if it was a screen resolution problem, but the x position of the frame still stays at 125 instead of10?
To reproduce this on my machine, all I need to do is the following:
Create a new publication with a new page.
Add a frame to the page
On load of the page, use Debug.trace(FrameName.GetXPosition()).
I have also used GetPosition().x as well, and that also returns the same result.
Look forward to hearing back from you.
Regards,
Dan.
EDIT: By the way, my frame is on a master page, and the temporary button I created is sitting directly on the page, just like the frame is.
|