RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
THelpContextAction.ExecuteTarget Method

Displays the help topic associated with the active control's HelpContext property.

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

Do not call the ExecuteTarget method. This method 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 calls the application's HelpCommand method, telling it to display the topic specified by the active control's HelpContext property. ExecuteTarget gets the active control from the global Screen object rather than using the Target parameter. 

 

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