Click to See Complete Forum and Search --> : scrolll bars
shaker
Jan 19th, 2004, 07:12 PM
hi
I use this piece of code to remove the scroll bars from the browser
WebBrowser1.Document.body.Scroll = "no"
the problem is that if u manually refresh the browser the scroll bars re appear.
is there any way I can stop that from happening?
The Hobo
Jan 19th, 2004, 08:21 PM
Perhaps you should ask this in the Visual Basic forum. I'm sure there's some way you can detect when the control is loading a page and call the code to remove it again.
The Hobo
Jan 19th, 2004, 08:22 PM
There's also ways to disable right click to prevent them from going to refresh in the first place.
CornedBee
Jan 20th, 2004, 08:24 AM
Not really. Well, maybe in a browser control, but not in a real browser.
The Hobo
Jan 20th, 2004, 11:21 AM
Originally posted by CornedBee
Not really. Well, maybe in a browser control, but not in a real browser.
I thought that's what he was talking about. It looks like VB code for a WebBrowser control in his first post.
CornedBee
Jan 20th, 2004, 11:43 AM
Yes, I realized that too late.
The Hobo
Jan 20th, 2004, 11:44 AM
Shaker: If I still had VB6, I could probably give a meatier example, but I'm sure a search could find an answer.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.