RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBrowseURL.ExecuteTarget Method

Launches the default Web browser to display the Web page specified by URL.

Pascal
procedure ExecuteTarget(Target: TObject); override;
C++
virtual __fastcall ExecuteTarget(TObject * Target);

ExecuteTarget is called automatically when the action fires in response to a user action (for example, when the user selects a menu item or presses a tool button that is linked to this action). 

Target is the currently active object when the action fires. 

ExecuteTarget ignores the Target parameter and launches the default Web browser, passing in the URL specified by the URL property so that the browser displays the associated Web page. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!