vintagedave / firemonkey-container

Automatically exported from code.google.com/p/firemonkey-container
92 stars 34 forks source link

Arrow keys (and other keys that do not produce a character) sometimes do not work #13

Open yonojoy opened 8 years ago

yonojoy commented 8 years ago

Steps to reproduce

The cause for this seems to be related to the focus handling. Normally the FMX form will get these key events, then everything is working fine. (For instance after clicking on the edit). But sometimes the FiremonkeyContainer will get these key events, then they are lost. (For instance after returning from another dialog).

yonojoy commented 8 years ago

I added pull request #14, that will fix most of the problem. However, I am not sure if it would be better a better fix to target the underlaying focus problem. One problem remains after the fix: ALT key seems to be handled differently. For instance ALT+arrow wont work - it does not trigger the event. Any idea?