Skip event of master

T

Thijs Schoemaker

hi everyone,

How can I change (temporary) the event of a mastershape?
I want (with vba) drop a shape on the stencil but Visio has to skip the drop
event.

Any assistance is greatly appreciated.
 
M

Mark Nelson [MS]

Generally you declare a global flag and set it to True right before you tell
Visio to drop shapes. Then set it to false when you are done driving Visio.
Meanwhile in your drop event handler, check the value of the flag to find
out if the event is due to your own actions or due to a user action.
 

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