Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DevToolsEnabled has no effect
#1
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
Reply
#2
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)