visio hyperlink and full screen mode

C

Charles

I have two visio documents. from one I have a hyperlink to another document.
When I click from one document to the other it gets me there but not in
Fullscreen mode but rather the edit mode. How can I make sure that I always
end up in Fullscreen mode?
 
J

John Goldsmith

Hello Charles,

You can get to a number of Visio commands via the DOCMD ShapeSheet function.
Unfortunately Full Screen isn't one of them and is only available
programatically.

However, you could employ some fairly simple code to get the effect you're
after using the DoCmd method of Application object.

Here's some steps and if it looks a bit unfamiliar then you could have a
quick read through this blog
(http://visualsignals.typepad.co.uk/vislog/2007/10/just-for-starte.html) to
get you on the right track:

1) Drop a shape onto Page-1 and click Format / Behavior / Double-Click / Go
to page "Page-2"

2) Open the VBE (alt+F11) Insert / Module

3) Copy and Paste the following code into Module 1:

Public Sub SetFullScreen(shpObj As Visio.Shape)
Application.DoCmd visCmdFullScreenMode
End Sub

4) Now you can call this code from the shape's ShapeSheet by changing the
EventDblClick cell (in the Events section) formula to:

=GOTOPAGE("Page-2")+CALLTHIS("Module1.SetFullScreen",)

Double clicking the shape should now 'go to page' 2 and then set the view to
full screen.

Let me know how you get on.

Best regards

John


John Goldsmith
www.visualSignals.typepad.co.uk
www.visualSignals.co.uk
 

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