06-11-2014 05:21 AM
Hi All
I am using a WebBrowser control to display a Test Report in XML format. The problem I am having is that a right click on the WebBrowser displays a shortcut menu. Does anyone know how to remove the right click menu option? Alternatively does anyone know of a method of displaying XML files using an indicator that doesn't include a right click menu?
I have attempted to filter out right clicks on the WebBrowser as shown, but this seems to need the 500ms (????) delay to work on my LV dev machine and is not reliable when my application is built into a EXE and deployed to a LV Run Time system.
Regards
Steve
Solved! Go to Solution.
06-12-2014 09:24 AM
Hi SercoSteveB,
Since LabVIEW WebBrowser control uses the Internet Explorer. The easiest way to disable the right-click context
menu is to actually disable it from the Internet Explorer itself. I believe that your default browser is not Internet Explorer,
so it is safe to disable a right-click there.
Here is the manual which explains how to do it:
Enable or disable right-click context menus in Windows Explorer
http://www.thewindowsclub.com/enable-disable-right-click-context-menus-windows-explorer
I hope it helps!
Kind Regards,
06-13-2014 03:38 AM
Hi Max
Thanks I shall give that a go and report back. There are a bunch of other options on TheWindowsClub.com, plenty of things to try.
Thanks again
Steve
06-20-2014 09:52 AM - edited 06-20-2014 09:55 AM
Hi Max
Yep that was it, nice one, Kudos to you. I found methods for removing the context menu completely and also for removing the Print... menu item.
Thanks again
Steve