Vcl.ActnMan.TActionClientLink.SetShortCut

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetShortCut(Value: TShortCut); override;

C++

virtual void __fastcall SetShortCut(System::Classes::TShortCut Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TActionClientLink

Description

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

Vcl.ActnMan.TActionClientLink.SetShortCut inherits from System.Actions.TContainedActionLink.SetShortCut. All content below this line refers to System.Actions.TContainedActionLink.SetShortCut.

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

Value specifies the new value of the ShortCut property.

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

As implemented in TContainedActionLink, SetShortCut does nothing. Descendant classes override SetShortCut to set the client's ShortCut property if the IsShortCutLinked method returns True.

See Also