Antwise community forums
DevToolsEnabled has no effect - Printable Version

+- Antwise community forums (https://forums.antwise.com)
+-- Forum: Antview (https://forums.antwise.com/forumdisplay.php?fid=11)
+--- Forum: Antview for Windows (https://forums.antwise.com/forumdisplay.php?fid=12)
+--- Thread: DevToolsEnabled has no effect (/showthread.php?tid=229)



DevToolsEnabled has no effect - honkinberry - 2025-10-15

I am having difficulty getting the DevToolsEnabled to work.
No matter what setting I have it in, I can access the Dev Tools both via the right click menu and the keyboard shortcut.

Am I missing something simple?

--J


RE: DevToolsEnabled has no effect - wila - 2025-10-15

Hi,

Just tested it down here and it works for me. If the context menu is enabled, the "inspect" option is removed and F12 disabled.
If the context menu is disabled then F12 is disabled. So pretty much as described.

What version of AntView are you using?
Nowadays it shouldn't matter when you set this property to false as AntView makes sure it is applied at the correct time.
But officially the time to set it would be after the control has been created.

IOW, try setting it from the OnCreateWebViewCompleted event.
--
Wil