Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
When using geckofx 45 webrowser control in a windows form application is there a way to disable the web browser from user input. In geckofx 33 there was a geckowebbrowser.Enable property you could set but its gone in 45. Or Is there another way to do it?

What I have tried:

tried disabling through webbrowser.document, webbrowser.document.window, and in the DOMobject
Posted
Updated 16-Nov-20 8:07am
Comments
CHill60 1-Mar-16 7:42am    
Note to other members who may be tempted to report this as a Repost - see the comments in the VS forum, OP was advised to post here!
Prashant. B. Chavan 18-Apr-16 17:55pm    
I used following code for Geckofx-45. Only "d" need to be added.

geckowebbrowser.Enabled = false;

1 solution

I think that there is a Enable property in Gecko 45.


Anyhow, you can always use

(geckowebbrowser as Control).Enabled = false;
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900