Scroll bar Twebbrowser

Asked

Viewed 271 times

2

How can I leave the scroll bar at the end of the TWebBrowser??

Or know some other component that interprets and displays html?

Help me please help!

1 answer

1

You can interact with the uploaded Document on TWebBrowseras follows:

Create 2 variables of type Integer, one to control each bar, vertical and horizontal!

var
  vVertical,
  vHorizontal : Integer;
begin
  vVertical   := 0;
  vHorizontal := 100;
  WebBrowser1.OleObject.Document.ParentWindow.ScrollBy(vVertical, vHorizontal);
end;

Positive and Negative integer values can be used to put the bar up or down, left or right!

I await the Feedback!

  • Hello Junior, First I would like to thank you for your attention and willingness to help, Good but there is a little problem because I am using the Delphi Xe8 Multi-device, so he unfortunately does not have this option of Webbrowser1.Oleobject ... , You could tell me how to do this in Delphi xe8 Multi-device?

  • Here are all the methods and properties of Webbrwoser Delphi Xe8, > http://docwiki.embarcadero.com/Libraries/XE8/en/FMX.WebBrowser.TWebBrowser_Methods , http://docwiki.embadero.com/Libraries/XE8/en/FMX.WebBrowser.TWebBrowser_Properties

Browser other questions tagged

You are not signed in. Login or sign up in order to post.