RAD Studio VCL Reference
TActionLink.SetShortCut Method

Introduces an interface for setting the shortcut for a client.

procedure SetShortCut(Value: TShortCut); virtual;
virtual __fastcall SetShortCut(TShortCut Value);

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

Value specifies the new value of the ShortCut property. 

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


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!