DelphiFAQ Home Search:
General :: Programming :: Delphi :: Network
Network (local network and Internet) programming under Windows with Delphi.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

Hide scrollbars in a TWebBrowser


How can I hide the scrollbars in my TWebBrowser component?


There are two properties in the Document.Body.Style property, named OverflowX and OverflowX. Simply set them to 'hidden' as shown in the code snippet below.

For more information on the TWebBrowser's document properties, see the other tips listed at the top.

   // .. 

   with WebBrowser1.Document.Body.Style do
     OverflowX := 'hidden';
     OverflowY := 'hidden';
   end; { with WebBrowser1 }
   // ..
You don't like the formatting? Check out SourceCoder then!
Generated 4:01:15 on Aug 14, 2018