System.Actions.TContainedActionLink.SetVisible

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetVisible(Value: Boolean); virtual;

C++

virtual void __fastcall SetVisible(bool Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Actions.pas
System.Actions.hpp
System.Actions TContainedActionLink

Description

Introduces an interface for setting the Visible property for a client of the action link.

Value specifies the new value of the Visible property.

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

As implemented in TContainedActionLink, SetVisible does nothing.

Descendant classes can override SetVisible to set the client's Visible property if the IsVisibleLinked method returns True.

See Also