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