A
Andy
I am trying to position a user form adjacent to a shape. I have taken
the PinX and pinY of the shape and converted these to windows
coordinates. However, my user form appears in the wrong place.
My screen resolution is 1280 x 1024. If my shape is in the middle of
the screen, i get approximately the right windows coordinates, allowing
for scroll bars etc. But my userform appears further right and lower.
If I move my userfrom th the right hand edge of the screen, It has a
left coordinate of 960, not around 1024.
Am I missing something here, shouldn't the left coordinate be relative
to the active window. The Visio window fills the screen, with no
rulers, shape windows etc.
Thanks in advance
the PinX and pinY of the shape and converted these to windows
coordinates. However, my user form appears in the wrong place.
My screen resolution is 1280 x 1024. If my shape is in the middle of
the screen, i get approximately the right windows coordinates, allowing
for scroll bars etc. But my userform appears further right and lower.
If I move my userfrom th the right hand edge of the screen, It has a
left coordinate of 960, not around 1024.
Am I missing something here, shouldn't the left coordinate be relative
to the active window. The Visio window fills the screen, with no
rulers, shape windows etc.
Thanks in advance