RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActionLink.SetHelpContext Method

Introduces an interface for setting the help context of a client.

Pascal
procedure SetHelpContext(Value: THelpContext); virtual;
C++
virtual __fastcall SetHelpContext(THelpContext Value);

The associated action calls SetHelpContext when its HelpContext property changes so that the action link can propagate the new HelpContext value to the client object.  

Value specifies the new value of the HelpContext property. 

As implemented in TActionLink, SetHelpContext does nothing. Descendant classes override SetHelpContext to set the client property that corresponds to the action's HelpContext property if the IsHelpLinked method returns true. 

 

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