SelectionChanged event when Group selection mode is "Group 1st"

R

RD

Suppose you have a group selection mode of "Group 1st" for a grouped shape.
This lets you select the shape first, and then on further clicks, it selects
the shapes enclosed in that group.

But when the internal items are selected, the SelectionChanged event returns
a Count 0 (zero).

When the grouped shape is selected, the count is 1, but when the internal
items are selected, the count changes to zero.

Is there any way to detect that the internal shapes have been selected ? Or,
is there any way to detect which group shape has been selected for the
currently selected internal item ?
 
R

Roger

The IterationMode and ItemStatus properties of the Visio Selection object
should provide the information you require. Also Shahzad Godil's excellent
blog contains some sample code.

Hope this helps
Best regards
Roger Billsdon
 

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