Dropping shape at the right place

A

Anders Christensen

Hi all,

I'm developing a window application using visio active x control.

I insert the shapes into the drawingcontrol by clicking on a toolbar item.

My problem is that when I 'Drop' the shape I need to tell the x and y
coordinate for my shape. Now I'm using a hardcoded set of coordinates for
this but this works badly when I'm scrolled away from the place the shape is
dropped.

So my question is if there's anyway to get the coordinates of the center of
the screen at the place I can see?

Hope to get some good answers :)
 
V

vojo

see setrefexpr() functions in help. I have used this in the x/y locals
with custom property menu to select "which slot to put blade x into"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top