TEdit.SetFocus not working as expected under macOS
Issue #174
new
I have a TEdit control on my form. Once the user enters text and presses return, I would like to refocus on the same Edit control so the user can continue entering data.
In the KeyPress() procedure of Edit1 I do the following:
Memo1.Lines.Add(Edit1.Text); Edit1.SetFocus;
This does not work, in that the Edit control does not gain the focus.
However, if I place two Edit controls on the form and transfer focus back and forth between them the focus works.