Jump to content

EdwardG

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. Thank you for your information. I also reported it as a bug yesterday. Did not notice it was an old one. You know, I found Delphi is a little bit buggy right now. IDE crashes or AV sometimes. It was my favorite years ago.
  2. Hi all, I am a newbie of FMX and this forum though I had been used Delphi VCL for years till D7. Recently I tried to code something using FMX and encountered a small issue: Delphi 10.3 community edition, Win32: I had a TButton in a FMX 2D form with "text" property "&Scan". I found if I pressed "Alt+F4" it would trigger my button's click(). I tried to trace the FMX code and found TCommonCustomForm.KeyDown() calls TWinAcceleratorKeyRegistry.TAcceleratorKeyReceivers.EmitAcceleratorKey() in the very beginning and treats F4 as word=115 then converts to 's' key and calls the button's click(). I can do some workarounds but is this a bug? Or is there any elegant way to avoid this from happening? TIA Edward
×