Delphi incompatible result of ShortcutToText of "="
Original Reporter info from Mantis: Alextp
-
Reporter name: CudaText man
Original Reporter info from Mantis: Alextp
- Reporter name: CudaText man
Description:
This program can be run on Delphi 10.3 and on Lazarus.
uses LCLProc, LCLType, Menus; //adjust in Delphi ... procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin caption:= ShortCutToText(ShortCut(Key, Shift)); end;
on pressing a key, form shows hotkey in form title. Try it with Alt+= / Ctrl+= hotkeys.
Delphi: you see "Alt+="
Lazarus: you see "Alt++"
Users of CudaText are confused, because now they see different text of hotkey for Alt+=, not like in Delphi editor SynWrite.
Mantis conversion info:
- Mantis ID: 36489
- Platform: Win 10
- Version: 2.1 (SVN)
- Fixed in revision: r62468 (#56b70571)