UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome to UtterAccess! Please ( Login   or   Register )

Custom Search
 
   Reply to this topicStart new topic
> Webbrowser Control    
 
   
tykra
post Jul 31 2019, 07:56 PM
Post#1



Posts: 71
Joined: 14-January 17



I'm using a web browser control to load PDF files in access' works great! I have a new request from management, they asked if I could disable the context menu / or disable right click on the browser window. I searched for a few hours and never really found any examples of this in Access.

Is there anything out there to do that?
Go to the top of the page
 
June7
post Jul 31 2019, 10:01 PM
Post#2



Posts: 867
Joined: 25-January 16



That right click menu is an attribute of IE, not Access. It's the same menu you get in IE. The WebBrowser control is a window to IE.

So stuck with the menu unless Access can trap the mouse right click with form's MouseDown or MouseUp events - not something I've ever tried.


This post has been edited by June7: Jul 31 2019, 10:05 PM

--------------------
Attachments Manager is below the edit post window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
DEBUG! DEBUG! DEBUG! http://www.cpearson.com/Excel/DebuggingVBA.aspx
Go to the top of the page
 
theDBguy
post Aug 1 2019, 10:26 AM
Post#3


Access Wiki and Forums Moderator
Posts: 76,379
Joined: 19-June 07
From: SunnySandyEggo


Hi. You might be able to experiment using JavaScript. Just a thought...

--------------------
Just my 2 cents... "And if I claim to be a wise man, it surely means that I don't know" - Kansas
Access Website | Access Blog | Email
Go to the top of the page
 


Custom Search


RSSSearch   Top   Lo-Fi    14th October 2019 - 08:36 PM