Delphi FMX: How to reliably detect pressing of Return key on Android device?

前端 未结 2 1345
借酒劲吻你
借酒劲吻你 2021-01-14 23:42

given a Delphi 10.1 Berlin update 2 Firemonkey Android app and a TEdit. I like to detect when the user presses Enter while being in the TEdit.

I implemented an OnTy

2条回答
  •  情歌与酒
    2021-01-15 00:18

    You can also use TEdit.OnChangeTracking event, that occurs when typing individual characters into the edit control. Or OnExit event

提交回复
热议问题