Embarcadero / DelphiFMX4Python

Python GUI module powered by Delphi's FireMonkey framework. Supporting Windows, MacOS, Linux, and Android GUI development.
Other
298 stars 55 forks source link

How to make threads work #45

Open hanlaohan opened 1 year ago

hanlaohan commented 1 year ago

I'm in trouble again. It seems that D4P cannot work with Python threads. The threads I create in Python will be blocked by Delphi UI. Is there any way to solve this problem

lmbelo commented 1 year ago

I need further details and maybe a sample to understand your scenario.

shaunroselt commented 1 year ago

Found this issue on StackOverflow regarding Threads also. It's for DelphiVCL though, but seems to be the same issue:

https://stackoverflow.com/questions/72728488/delphivcl-for-python-threading

lmbelo commented 1 year ago

I will try that code and update you guys regarding any news.