Vcl.Menus.TMenuActionLink.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.Menus.pas
Vcl.Menus.hpp
Vcl.Menus TMenuActionLink

Description

Sets the specified shortcut for the client of the menu action link if IsShortCutLinked is True.

SetShortCut sets the specified Value to the ShortCut property for the client's menu item of the menu action link if the action, associated by the menu action link to the client, controls the ShortCut property of the client. That is, if IsShortCutLinked is True.

Value specifies the shortcut of the client's menu item.

See Also