user3038203
user3038203

Reputation: 21

Delphi XE5 android app keydown and keyup events

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?

Upvotes: 2

Views: 2088

Answers (1)

David Heffernan
David Heffernan

Reputation: 612844

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.

Upvotes: 1

Related Questions