Selfmade Hyperlinks

D

Dirk Hoffmann

Hi,

I'm currently developing a template for a graphical notation similar to
BPMN or UML2 activity diagramms. There are, amongst others activities
and processes. Processes contain activities which can also be defined
through processes.

What I want to achieve that the user gets to the process that defines an
activity when he/she clicks on a link symbol which is part of the activity.

I didn't use hyperlinks as they don't work with a single click and do
not have a "back"-functionality (unless the diagramm is exported to HTML)

Up to now my solution works with a smart tag and an action, which call
the same VBA routine. This routine changes the active page to that
containing the defining process and centers the window on the process
shape. Each page has an action with the "back" functionality so that the
user can return to where he/she clicked on the link via "Go Back" in the
context menu.

What still bothers me is the fact that smart tags as well as entries of
the context menu do not allow the user to navigate with a single click.
I feel there should be a way to achieve this but I've no idea how.

Of course one could implement a handler for the mouse button events
which checks if the mouse is position over the link symbol of an
activity but I guess and hope there is a simpler solution.

Any ideas on that?

Looking forward to seeing your solutions!
Regards,
Dirk
 
P

Paul Herber

I didn't use hyperlinks as they don't work with a single click

How will you be able to do any editing of the diagram if shapes
respond to single clicks?
 
D

Dirk Hoffmann

Paul said:
How will you be able to do any editing of the diagram if shapes
respond to single clicks?
There shold be just small regions within shapes that respond to single
clicks. Those small regions can be group member shapes. Moreover their
behaviour may change according to the mode visio is in. In developer
mode the hyperlink feature may be turned off.

Regards,
Dirk
 

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