Trouble in receiving a msg

C

CollarWB

Hi all,

the problem is that i couln't catch "QueryCancelConvertToGroup" event in VBA
code. Namely this event! What's the matter?
 
C

CollarWB

the problem is that i couln't catch "QueryCancelConvertToGroup" event in VBA
code. Namely this event! What's the matter?

Even more! Visio Event Moniotor from Visio SDK doesn't catch this event
either!
 
M

Mai-lan [MS]

This event is a little odd, to be honest. It only works if you run the
ConvetToGroup command from the Shape/Grouping menu, and not if you run the
Group command, or Ctrl+G. Can you work around using this particular event?

--
Mai-lan
Visio Blog: http://blogs.msdn.com/mailant
Microsoft Corp

This posting is provided "AS IS" with no warranties, and confers no rights.
 
M

Mark Nelson [MS]

Grouping shapes together forms a new group, so you would not get a Convert
to Group event here. You should get ParentChanged events for the shapes
that were placed into the group though.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
C

CollarWB

Thanks, Mark!

I've just finally GOT it! After beeing groupped a shape becomes a child to a
new shape, grpopped one!
 
C

CollarWB

Mark Nelson said:
you would not get a Convert
to Group event here.> that were placed into the group though.

But then is "QueryCancelConvertToGroup" whenever fired? Or not?
 
M

Mark Nelson [MS]

QueryCancelConvertToGroup should fire when the user performs a Convert To
Group operation. This means that they have selected a non-group shape, gone
to the menu and chosen Shape > Grouping > Convert to Group.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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