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.
 
Top