| Delphi .NET (2) Database (71) Delphi IDE (90) Network (39) Printing (3) Strings (12) VCL (83) Windows with Delphi (280)
|
Scroll a TWebBrowser document to the top/ bottom/ right
(2 votes). Leave comments and/ or rate it.
Question: My application uses TWebBrowser and I need to load a document and then have TWebBrowser scroll to the bottom of the document. How can I achieve this?Answer: Create an event on OnDocumentComplete event TForm1.WebBrowser1DocumentComplete() and put this code in there:WB_ScrollTo(WebBrowser1, wbPosBottom);
Comments:
|