a custom option to the right click menu...

D

DGD

Im relatively new to Visio 2003 and would like to know if anybody has
previously managed to create an extra (custom) option to the right click
menu. I would preferably like to hardcode this and if anybody has any idea
on how to do so or any suggestion of where i may find my answer it would be
greatly appreciated.

Thank you
 
D

David Parker [Visio MVP]

You can add options to the right mouse menu quite easily by adding Action
rows in the shapesheet.
Also, you can add SmartTags to shapes with a combination of Actions and
SmartTag rows.
 
D

DGD

Im sorry im not sure how / where to do this.
Is this hard code that i can save as a module and run as a macro, which then
adds an action to the right click menu?

If this way is possible i would prefer to do it this way so it can be an
option always available on shapes as opposed to just within one document.

Im sorry if im not making myself clear as im very new to all this, again any
assistance (for a dummy :)) would be a appreciated!

Cheers
 
D

David Parker [Visio MVP]

Normally, custom right mouse menu actions are intended to be used for the
particular type of shape being used.
They are added to the master shape in a stencil, and thus they will be
available on every the instance of the master, commonly called a shape.
If you select a shape, then Window / Show ShapeSheet, you will see what s
behind every Visio shape.
(Any values in black are inherited from its master, or the application, but
any value in blue are local values)
If there is no Actions section, then you can Insert it. Then you can insert
rows in the Actions section.
For example, adding an Action =DOCMD(1312) and a menu "Properties" will
provide an option to open the custom properties dialog.

You can add actions to shapes programatically, but would you really want to
add them to all shapes, such as a piece of text or a line?
 

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