Removing vertical scrollbar on webbrowser activeX component

  • Thread starter Thread starter reidarT
  • Start date Start date
R

reidarT

I use a webbrowser control to open a web page. I get a vertical scrollbar.
Is it possible to get rid of it?
reidarT
 
Reidar,

The vertical scrollbar is a part of the webpage that you are reading not a
part of your webbrowser.

Cor
 
reidarT said:
I use a webbrowser control to open a web page. I get a vertical scrollbar.
Is it possible to get rid of it?

You can remove both scrollbars by adding
'Me.WebBrowser1.Document.body.scroll = "no"' to the WebBrowser's
'DocumentComplete' event handler.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top