• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 464
  • Last Modified:

WebBrowser component

How do I remove the horizontal scrollbar in the WebBrowser component? (Delphi 5)
Even if the html document containes only a few lines, there will be a scrollbar.
Joern

Sorry, I searched the forum once more and found the answer:

var
 Doc:OleVariant;
begin
 Doc:=WebBrowser1.Document;
 Doc.Body.scroll:='no';

0
rainbowsoftware
Asked:
rainbowsoftware
1 Solution
 
intheCommented:
hi,
you should be able to delete this q
(im guessing the answer you found is working ok ;)
0
 
rainbowsoftwareAuthor Commented:
Yes, it's working OK.
I looked for a possibility to delete the question, but it don't seem to be possible.
So, as you have helped me some times before, I accpet your answer and give you the points, so that I can close the question.
Joern
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now