Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Q] How do you catch a link in Delphi?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Flabbergasted
Expert Cheater
Reputation: 0

Joined: 11 Oct 2007
Posts: 231
Location: I have alzheimer's.

PostPosted: Wed Feb 11, 2009 11:47 pm    Post subject: [Q] How do you catch a link in Delphi? Reply with quote

Hi, I'm trying to make the window that pops up when you click on a link in a TWebBrowser object to open in the same TWebBrowser object instead of popping up a window aka a link catcher, in Delphi. Thanks Smile.
Back to top
View user's profile Send private message
Tsabo
Cheater
Reputation: 0

Joined: 03 Feb 2009
Posts: 44
Location: Texas

PostPosted: Thu Feb 12, 2009 8:24 am    Post subject: Reply with quote

Look at the OnBeforeNavigate2 event.

Here is the description from the help file

Quote:
Write an OnBeforeNavigate2 event handler to redirect or cancel a change to a different URL. This event may occur as the result of a call to the Navigate or Navigate2 method, or the user clicking a link.

Regards
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites