This might be a better question on a newsgroup specific to .NET
or the IE web control. Adding the ScrollBarsEnabled = False is the same as
doing: WebBrowser1 = WebBrowser() WebBrowser1.ScrollBarsEnabled = True There may be some way for a web site to forcibly enable scrolls
bars even though you’ve requested that they’re not displayed. But IronPython
should be accurately reporting the status of the property. From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Floris van Nee Hey, I've used IronPython for a few days now, and I'm making a
program with it which has a WebBrowser control. I want the ScrollBarsEnabled
property set to False. Now, my code to do that is: WebBrowser1 = WebBrowser(ScrollBarsEnabled=False) This works perfectly for most sites. However whenever I go
to some sites, for example, www.runescape.com
, the scroll bars are enabled again. It seems that site runs some kind of
override on my ScrollBarsEnabled property. But when I add an DocumentComplete
event to the browser and let it show me a messagebox which contains the value
of ScrollBarsEnabled it still returns 'False' to me. So it seems
IronPython thinks the scroll bars are disabled, but in fact they aren't. Does anyone know if the scroll bars can be disabled in any
other way which works in this case? Thanks in advance,
|
_______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com