Vcl.Menus.TextToShortCut

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function TextToShortCut(Text: string): TShortCut;

C++

extern DELPHI_PACKAGE System::Classes::TShortCut __fastcall TextToShortCut(System::UnicodeString Text);

Properties

Type Visibility Source Unit Parent
function public
Vcl.Menus.pas
Vcl.Menus.hpp
Vcl.Menus Vcl.Menus

Description

Returns the code representation that matches the specified string representation of a shortcut.

See Representing Keys and Shortcuts to learn how to represent a shortcut as a string.

See Also

Code Examples