RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TActionLink.SetVisible Method

Introduces an interface for setting the visible state of a client.

Pascal
procedure SetVisible(Value: Boolean); virtual;
C++
virtual __fastcall SetVisible(Boolean Value);

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

Value specifies the new value of the Visible property. 

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

 

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