|
-
Jan 19th, 2004, 08:12 PM
#1
Thread Starter
Lively Member
scrolll bars
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?
-
Jan 19th, 2004, 09:21 PM
#2
Stuck in the 80s
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.
-
Jan 19th, 2004, 09:22 PM
#3
Stuck in the 80s
There's also ways to disable right click to prevent them from going to refresh in the first place.
-
Jan 20th, 2004, 09:24 AM
#4
Not really. Well, maybe in a browser control, but not in a real browser.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 20th, 2004, 12:21 PM
#5
Stuck in the 80s
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.
-
Jan 20th, 2004, 12:43 PM
#6
Yes, I realized that too late.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 20th, 2004, 12:44 PM
#7
Stuck in the 80s
Shaker: If I still had VB6, I could probably give a meatier example, but I'm sure a search could find an answer.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|