Allow user to enter Alt code into a TMemo?


TMemo in FMX supports the display of Alt codes, but the only way I can add them is by copying them from elsewhere and pasting them into the TMemo. I’d like to allow users to enter Alt codes using the Alt key and number pad in the same way that most text editors allow. Currently when I try this it does nothing. The number pad works but not when Shift, Ctrl or Alt are pressed.
Alt codes can be entered in VCL applications. I’d just like to be able to do the same in FMX.
I’m using Delphi 10.4

Comments are closed.