We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Hello, can you tell me how to call the main thread in the sub thread to update the UI?
Need to asynchronously call the main thread in the sub thread
Please, provide a project sample so I can support you.
请提供一个项目样本,以便我为您提供支持。
I want to add content to the memo control in the subthread
I asked in GPT and it said there was TThread, but after trying it out, it didn't
You can use a queue.Queue instance. In your thread you can queue some data and also put an event in the main thread to check the queue periodically.
I will work on a sample.
Activity
xusuyuan0923 commentedon Aug 2, 2024
Need to asynchronously call the main thread in the sub thread
lmbelo commentedon Aug 2, 2024
Please, provide a project sample so I can support you.
xusuyuan0923 commentedon Aug 3, 2024
I want to add content to the memo control in the subthread
xusuyuan0923 commentedon Aug 3, 2024
I asked in GPT and it said there was TThread, but after trying it out, it didn't
lmbelo commentedon Aug 21, 2024
You can use a queue.Queue instance. In your thread you can queue some data and also put an event in the main thread to check the queue periodically.
I will work on a sample.