My Shapes won't answer the call!

D

dave

I've recently assembled a shape with several componet-shapes. I defined
custom properties on several of these componet shapes. Also I set the
AskOnDrop for many of them. The problem is; they don't answer the call. I
know I've missed something simple, but for the life of me. I don't know what
it is.
 
C

Chris Roth [ Visio MVP ]

It sounds like you've "buried" the shapes with the properties inside of a
group. I'm pretty sure the AskOnDrop feature only works for top-level shapes
and doesn't drill into components.

Solutions would be either use some sort of code (VBA for example), or
promote the properties to the group. You can put properties in the group
that reflect all of the components, then the components can even refer to
the properties of the group, so you don't have to destroy anything.

Of course, if you are making new assemblies often, this is a bit of work.
Enter code once again - perhaps a Property Promoter Tool...

Sorry the news isn't better.

--

Hope this helps,

Chris Roth
Visio MVP
 
M

Mark Nelson [MS]

Make sure that the group has the custom properties and not the component
shapes.

--
Mark Nelson
Microsoft Corporation

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

dave

Hi Mark,

thanks for the reply,
Some of the shapes has several components. Each has at least two
attributes. Is it save to say "I feel a VB form coming to set these
properties" or can you filter/modify the "custom properties" form to select
and set buried component shape properties.

Dave
 
M

Mark Nelson [MS]

If you want to use Visio's dialog and avoid coding your own, you need to put
the custom properties at the top level. You can add the custom properties
to the top shape and then put formulas in the component shapes referencing
the top level properties.

--
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