Visio Guy

Visio Discussions => Programming & Code => Topic started by: sirfamol85 on December 08, 2010, 10:41:45 AM

Title: delete shape hierarchy conditionally
Post by: sirfamol85 on December 08, 2010, 10:41:45 AM
Hi guys,
I have flowchart type diagram generated on visio document, where each shape may have children shapes.
To connect the the shape I have used AutoConnect property of shape.

Now , when user tries to delete the shape from document , I am handing BeforeSelectionDelete event.
In this event I am asking user whether he want also to delete child tasks? if yes, i want to delete the child tasks otherwise childtasks level will be like a deleted parent level.I am using visio 2010.

Any help will be appriciated.
Title: Re: delete shape hierarchy conditionally
Post by: aledlund on December 08, 2010, 01:45:28 PM
have you checked out the flowchart sample application in the Visio SDK? It might provide some insight.
al
Title: Re: delete shape hierarchy conditionally
Post by: sirfamol85 on December 16, 2010, 11:54:17 AM
ok , thanks