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,

Floris van Nee
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to