RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActionLink.SetHint Method

Introduces an interface for setting the hint for a client.

Pascal
procedure SetHint(const Value: string); virtual;
C++
virtual __fastcall SetHint(const AnsiString Value);

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

Value specifies the new value of the Hint property. 

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

 

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