open link in other webbrowser
I have two webbrowsers
How I make to click in link in one and load page (from clicked link) in the second webbrowser? |
Re: open link in other webbrowser
You have to catch events in the first instance and pass them to the second.
|
Re: open link in other webbrowser
Hi,
the code sample attached here shows you how to deal with the event OnNewWindow2() and multiple instances of TWebBrowser. While OnNewWindow2() is fired only when a new browser instance is about to open, OnBeforeNavigate2() is fired for any navigation. Regards |
Re: open link in other webbrowser
thanks!
I use beforeNavigate2 and make my action and cancel=true; |
Re: open link in other webbrowser
Think twice.
If that very link is clicked while Shift is held down, a new browser window is created. Only thereafter the event OnBeforeNavigate2() is fired. You sure can cancel the ongoing navigation now, but what about the blank window glaring at you? Regards |
Alle Zeitangaben in WEZ +1. Es ist jetzt 05:09 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz