Wikia

Delphi Programming

ShortCutToText Routine/Example1

< ShortCutToText Routine

2,918pages on
this wiki
Talk0
uses Menus;...

implementation

{$R *.dfm}
...

//Make sure you have a form and a hotkey component and also a button :)

procedure TForm1.Button1OnClick(Sender: TObject);
var
  Text: string;
begin
  Text := ShortcutToText(Hotkey1.Hotkey);
  ShowMessage(Text);
end;

Around Wikia's network

Random Wiki