Link to home
Start Free TrialLog in
Avatar of Gerardo Fernandey
Gerardo Fernandey

asked on

Disable Left Click Behavior Full Screen Mode

Hello,

I want to disable the left click behavior in full screen mode. I have created drawn a BPMN diagram with many pages, there are hyperlinks for the figures so I do not want click in the page to go to the next page. I would like to change the page only if someone clicks on the figure.
I read on the forum that one solution was created a hyperlink to the same page in the PageSheet, but it is not the best solution. My page does not cover the whole screen so there are some areas where there is not hyperlink.

Do you know any solution?
Avatar of Scott Helmers
Scott Helmers
Flag of United States of America image

So... interesting problem with several potential solutions.

I've attached one possibility for your consideration. At the moment this solution is all or nothing, i.e., left button clicks are always ignored in full-screen mode but are acted on normally when not in full-screen mode. As a result, it doesn't do everything you've asked for -- specifically, it won't respond to clicking a shape with a hyperlink when in full-screen mode.

However, I added this code to a document I posted in response to one of your other recent questions about command buttons and page size, You'll notice that even though mouse clicks are ignored in full-screen mode, mouse clicks on command buttons still work. Consequently, I've thought of two options so far (there may be others):
1) use command buttons instead of hyperlinks to move to other pages
2) modify the MouseDown event code to allow mouse clicks in specific X/Y coordinate ranges where the hyperlinked shapes exist

I realize that neither of those is probably ideal, but perhaps this will give you other ideas.
Change-page-size-based-on-layer-visb.vsd
Avatar of Gerardo Fernandey
Gerardo Fernandey

ASKER

Thank you very much for your help.
I think the second solution is the one that fits me. However I do not know how to do it, could you explain me how to modify the MouseDown event code ?
If I am using an A4 template, how can I modify the MouseDown event code so I can only click in that area?
Sorry, Gerardo -- it's been a very busy week so I haven't gotten back to this. Is there only one shape on each page that contains a hyperlink? If so, is that shape always is the same place on each A4 page? Or can the shape with hyperlink be located anywhere on the page?
There are more than one shape with an hyperlink and it can be anywhere in the A4 page
I was afraid of that. That makes the task considerably more challenging because the MouseDown code will need to figure out where the shapes with hyperlinks are located. It's not impossible, just more of a challenge.

I'll see what I can come up with, although, unfortunately, it's going to take a few days to get to this. Stay tuned...
OK
Thank you very much
Hello Scott,

do you think it could be possible to solve the problem?
I apologize for the delay but this has been six weeks of unending deadlines, including the final preparation to spend next week in a studio recording Visio training videos. However, just yesterday I put together my "to do" for my flight to California on Sunday and this is on the list. Sorry to keep you waiting but I will get there.
ASKER CERTIFIED SOLUTION
Avatar of Scott Helmers
Scott Helmers
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you very much! It is perfect
It is very useful for me.