
'Disabling' a WebBrowser Control
Don't ask me why but the "enabled" property in VB has become the "disabled"
property in the Document Object Model (I assume similar logic which turned
<collection>.Count into <collection>.length !).
Given a Project/References to the "Microsoft HTML Object Library"
(mshtml.dll)", your text box (single-line) is of type "HTMLInputTextElement"
and has this "disabled" property as a boolean.
Barry Evans
Canberra, Australia
---------------------------
I have a WebBrowser control in my application, and I would like to know if
there is any solution for this:
What I really want is something that simulates the 'enabled' property of the
text boxes: the user can see it contents, but not change them. With one
exception: the user must be able to scroll the document...
What I have already tried...
- cancel user clicks... didn't work
- put an invisible control in front of the WebBrowser control.. did't find
any that really is in front... for example, the text box always keeps in th
back...
Any other sugestions?
Thanks in advance...
Alberto Silva