M
M@
Hey,
I'm looking for a way to unglue two shapes on a page, using automation. As
far as I am aware there is no 'unglue' method for a shape?
Background:
I am using the ConnectionsAdded event which is triggered when a new
connection is added to the connects collection.
When a connection is made between two shapes (by a user) I am validating the
connection and would like to automatically remove the connection if it is
not validated.
eg. The user connects a Dynamic Connector to a Shape. The ConnectionsAdded
event fires then VBA code determines the connection is NOT valid. The
dynamic connector should then automatically disconnect & the end making the
connection is preferably left floating on the page.
Version: Visio Pro 2002 SR-1
Development Environment: Visio's VBA
I'm looking for a way to unglue two shapes on a page, using automation. As
far as I am aware there is no 'unglue' method for a shape?
Background:
I am using the ConnectionsAdded event which is triggered when a new
connection is added to the connects collection.
When a connection is made between two shapes (by a user) I am validating the
connection and would like to automatically remove the connection if it is
not validated.
eg. The user connects a Dynamic Connector to a Shape. The ConnectionsAdded
event fires then VBA code determines the connection is NOT valid. The
dynamic connector should then automatically disconnect & the end making the
connection is preferably left floating on the page.
Version: Visio Pro 2002 SR-1
Development Environment: Visio's VBA