System.Actions.TContainedActionLink.SetShortCut
Delphi
procedure SetShortCut(Value: System.Classes.TShortCut); virtual;
C++
virtual void __fastcall SetShortCut(System::Classes::TShortCut 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 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.