Skip to content

Call the main thread in the child thread to update the ui #93

Open

Description

@xusuyuan0923

Hello, can you tell me how to call the main thread in the sub thread to update the UI?

Activity

  1. xusuyuan0923 commented on Aug 2, 2024

    @xusuyuan0923
    Author

    Need to asynchronously call the main thread in the sub thread

  2. self-assigned this
    on Aug 2, 2024
  3. added
    help wanted
    on Aug 2, 2024
  4. lmbelo commented on Aug 2, 2024

    @lmbelo
    Member

    Please, provide a project sample so I can support you.

  5. xusuyuan0923 commented on Aug 3, 2024

    @xusuyuan0923
    Author

    请提供一个项目样本,以便我为您提供支持。

    17226626107823
    I want to add content to the memo control in the subthread

  6. xusuyuan0923 commented on Aug 3, 2024

    @xusuyuan0923
    Author

    请提供一个项目样本,以便我为您提供支持。

    I asked in GPT and it said there was TThread, but after trying it out, it didn't

  7. lmbelo commented on Aug 21, 2024

    @lmbelo
    Member

    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.

  8. pengfan806 commented on Oct 11, 2025

    @pengfan806

    Python 3.14 has removed the GIL lock. Can the DelphiVCL4Python and Python4Delphi libraries support native multi-threaded calls?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions