magiblot / tvision

A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.
Other
1.99k stars 150 forks source link

keypress / keydown at TInputLine #159

Closed paule32 closed 5 months ago

paule32 commented 5 months ago

Hello, I work under FPC FV, but I think that can be discuss there... I have a class inherited from TInputLine. I can type text in it, and with the HandleEvent function, I can check on keydown. This check is for extended keys, because I am not able to check, if 'a' or 'z' is pressed. But, when I combine the touch with a extended key like ALT or CTRL, the key and the code could be determined. What is to do, that simple keys will be accepted ?

paule32 commented 5 months ago

wrong use of inherited