Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit not accepting keyboard input #23

Open
masoodimran opened this issue Apr 29, 2022 · 2 comments
Open

Edit not accepting keyboard input #23

masoodimran opened this issue Apr 29, 2022 · 2 comments
Assignees
Labels
Awaiting Feedback Waiting for feedback from submitter or others.
Milestone

Comments

@masoodimran
Copy link

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

delphifmx.mov

.

@lmbelo
Copy link
Member

lmbelo commented Apr 29, 2022

Hi @masoodimran,

Thank you for your report. I will investigate this case.

@jimmckeeth jimmckeeth added this to the May 2022 milestone May 23, 2022
@lmbelo
Copy link
Member

lmbelo commented Jun 2, 2022

@masoodimran,
Have a look at the following trick I set on the following script:

def __on_focus_changed(self, sender):

I once saw this same issue, but I didn't have a chance to fix it out. Try the following:

  1. Define the OnFocusChanged event as above
  2. Assign the defined event to the OnFocusChanges event property of your main form

Let me know if it does the trick.

@jimmckeeth jimmckeeth added the Awaiting Feedback Waiting for feedback from submitter or others. label Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Feedback Waiting for feedback from submitter or others.
Projects
None yet
Development

No branches or pull requests

3 participants