I want to hyperlink shapes/textboxes -- sometimes on the same page,
sometimes on other pages within the same document but the main thing I want
to do is draw attention to that shage by using any one of these methods:
1. Hightligh the shape
2. Make a shape that is invisible, visible i.e. could be a red asterisk that
appears next to the shape when I click the hyperlink
3. Another method that takes the user to the page where the target shape is
and somehow get the user's attention to that particular shape.
I know that a bunch of things are possible through some basic programming
within Visio. I don't want to re-invent the wheel but this is pretty
important for us. Thank you very much for your help.
--
Thanks,
Sam
Hi Sam,
a complicated subject and something I have spent some time working on
for SDL/UML diagram syntax checking where we want to highlight the
faulty shape(s).
Whatever you do you want to bear in mind that any highlighting will
change the document so you will be asked if you want to save any
changes when you close the document (unless you also clear the
document changed flag). You may also want to set up the Undo system so
that any changes to the document can be easily undone.
Highlighting shapes by setting the line/fill colour can be complicated
by grouped shapes and convoluted shape geometry, for some shapes this
means that special code will need to be written to ensure the
highlight works correctly.
Your idea of a red asterisk is interesting, the asterisk can be easily
located by an offset from the target shape's PinX and PinY. Watch out
for connectors being automatically rerouted to avoid your added shapes
though.
--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio http://www.electronics.sandrila.co.uk/