delete shape hierarchy conditionally

Started by sirfamol85, December 08, 2010, 10:41:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

sirfamol85

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.

aledlund

have you checked out the flowchart sample application in the Visio SDK? It might provide some insight.
al