Reputation: 3486
Hi is there any way to simulate the Delphi embedded chromium scroll position? or simulate SPACE key to scroll when pressing a TButton.
Upvotes: 0
Views: 922
Reputation: 856
What you can do is inject some javascript that will scroll to the bottom
ChromiumComponent.Browser.MainFrame.ExecuteJavaScript(
'window.scrollTo(0,document.body.scrollHeight);'
);
Works great for one way communication to the page you are on.
Upvotes: 1