Edit not accepting keyboard input
Hi,
I have being trying the Delphi FMX examples on my macbook pro (intel). While button clicks work perfectly, the Edit box is not accepting the characters I type on my keyboard. What ever I type does not show in the Edit box but instead on other open windows.
I am trying to run the ToDoList.py example on my local machine
https://user-images.githubusercontent.com/30685384/165887967-57f20980-e622-4994-8c15-611e28f78c43.mov
.
Hi @masoodimran,
Thank you for your report. I will investigate this case.
@masoodimran, Have a look at the following trick I set on the following script:
https://github.com/Embarcadero/DelphiFMX4Python/blob/61013f96c5603c8adabdb547cbbb9df9cf994e18/samples/ControlsDesktop/controlsdemo.py?plain=1#L259
I once saw this same issue, but I didn't have a chance to fix it out. Try the following:
- Define the OnFocusChanged event as above
- Assign the defined event to the OnFocusChanges event property of your main form
Let me know if it does the trick.