If you want to block the ability to use scrollbars in TWebBrowser then you can simply hide them. Here’s the code that’ll do that.
... with WebBrowser1.OleObject.Document.Body.Style do OverflowX := 'hidden'; OverflowY := 'hidden'; end; ...
Tags: borland, brower, code, coding, Delphi, hide, hiding, m3rlin, open source, programming, scrollbars, show, source, source code, tip, trick, twebbrowser
Merlin’s Delphi Forge
Leave a comment