Joined: 11 Oct 2007 Posts: 231 Location: I have alzheimer's.
Posted: Wed Dec 16, 2009 4:54 pm Post subject: [Delphi] How do u focus on a different part in webbrowser?
Hey, every time I reload the website in a web browser control in Delphi, it always focuses on the upper left. How do I position it to the middle or something? I'm creating a bot and I don't want it to click the scroll bars to see a different part of the website. Thanks.
You could try modifying the webpage itself, linking to anchors.
Other than that, I'm not too familiar with Delphi's controls; maybe there's a default value that can be changed for the positioning of the actual bar within the scrollbar object. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum