System.Actions.TContainedActionLink.SetStatusAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetStatusAction(const Value: TStatusAction); virtual;

C++

virtual void __fastcall SetStatusAction(const TStatusAction 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 StatusAction property for a client of the action link.

Value specifies the new value of the StatusAction property.

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

As implemented in TContainedActionLink, SetStatusAction does nothing. Descendant classes override SetStatusAction to set the client's StatusAction property if the IsStatusActionLinked method returns True.

See Also