2
votes

I want the keydown (or up) event for an edit-box so I can do a database lookup for the text entered so far. This works fine in Windows, but on Android only the Enter is send. Does anyone know how to capture the key-events in XE5 of the virtual keyboard?

1
OnChangeTracking is doing the job for me in this case. Thank youuser3038203

1 Answers

1
votes

I don't think that detecting keyboard events was ever the right way to solve this problem. That's because there are many ways of getting text into a control, and not all of them involved pressing keys. You are really trying to detect when the text of the edit control changes. For that you simply listen to the OnChangeTracking event.