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    
post Jul 31 2019, 07:56 PM

Posts: 72
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
post Jul 31 2019, 10:01 PM

Posts: 1,612
Joined: 25-January 16
From: The Great Land

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.
Go to the top of the page
post Aug 1 2019, 10:26 AM

UA Moderator
Posts: 78,614
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    6th August 2020 - 08:51 AM