Apparently a difficult one...

  • Thread starter Geert Vancompernolle
  • Start date
G

Geert Vancompernolle

Hi,

I've tried to get an answer on the following already many times, but I
didn't see any for the moment:

When you create a shape, you can use the 'Actions' section to have extra
items popping up in the popup or smart tag menu (right-clicking on the
shape). Is it possible to have submenus too, like the ones you see for
'View', 'Format' and 'Shape' in the popup menu?

Really want to know this, it could save me from creating long and/or complex
popup menus.

--Geert

====================================================
" Only after the last tree has been cut down
Only after the last river has been poisoned
Only after the last fish has been caught
Only after the last beast has been killed
Only then will you find that money cannot be eaten... "

Please help saving the Tigers and other endangered species!
Visit the following sites:

http://www.5tigers.org
http://www.panda.org
http://www.worldwildlife.org
http://www.jackiewild.com
http://www.uidaho.edu/rsrch/hwi/

"When the buying stops, the killing can too!"

Thanks for your support!

Geert
====================================================
 
C

Chris Roth [ Visio MVP ]

You can't create cascading menus using the ShapeSheet Actions section.

You *can* put multiple SmartTag icons at different locations on the shape.
Perhaps you can find different icons for the Button Face of the icon that
help users make a logical choice.

You can customize Visio's UI using the Application.UIObject. The right-click
menu is the "drawing page context menu", and you can modify the structure of
this. Of course, this customized UI will apply to all shapes that you
right-click, unless you constantly check what was right-clicked and modify
the UI "on the fly"

Also, if you are using the Visio Drawing Control, you can trap mouse
over/down/up events and draw your own "real" menu where the mouse was
clicked. Then you can cascade. I'm not sure if this is possible in the
normal Visio application, as I've not tried it yet.

--

Hope this helps,

Chris Roth
Visio MVP
 
G

Geert Vancompernolle

Hi Chris,

That's indeed what I've done: using the smart tag feature. I didn't know
exactly what it was doing, but I've now learned to appreciate the power of
this feature. I can now make as many 'cascaded' (they're not really
cascaded, but they look like...) menus as I want.

One more question though: is it possible to define more than one SETF() per
action in the Actions section?

Hope it is, then it solves a lot of my issues.

Thanks again for this very useful input.

--Geert
 

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