[IronPython] ScrollBarsEnabled problem

Dino Viehland dinov at exchange.microsoft.com
Fri Sep 15 19:04:37 CEST 2006


I pinged a friend who's infinitely more web savvy than I, he suggested trying to do document.body.scroll = "no"; in the document - although he wasn't entirely sure if that'd work.  That'll require access to the DOM somehow - hopefully you can access the DOM through the web browser interfaces.

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Floris van Nee
Sent: Friday, September 15, 2006 1:23 AM
To: Discussion of IronPython
Subject: Re: [IronPython] ScrollBarsEnabled problem

Yeh, it should. But even then, it still displays the scrollbar when viewing certain sites. I found out that it has something to do with sites with frames. When I navigate to a site with frames, it displays the scrollbars, and when I navigate to a site without frames, it doesn't display them.

But I still don't know how to disable scrollbars in a site with frames.

Floris

On 9/15/06, J. Merrill <jvm_cop at spamcop.net> wrote:
At 01:45 PM 9/12/2006, Dino Viehland wrote

>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

Shouldn't that be   = False    ???
[snip]

J. Merrill / Analytical Software Corp


_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com




More information about the Ironpython-users mailing list