'working, please wait' screen with thread?

前端 未结 4 1071
鱼传尺愫
鱼传尺愫 2021-02-10 16:54

Perhaps, it is very easy for you, but I am hard working on a project (for educational purposes) that is querying adsi with TADSISearch component, for several days. I\'m trying t

4条回答
  •  日久生厌
    2021-02-10 17:25

    Can you not just do a

    f := TMyWaitForm.Create(self);
    try
       f.Show();
       ...start the TADSISearch...
    finally
       FreeAndNil(f);
    end;
    

    Putting an animated GIF on the TMyWaitForm (which displays itself) ?

    I have a progress form when building websites in my web creation program, and this works like a charm.

    You even may consider showing some state information on the wait form (if the TADSISearch component/software has a call back function or event which can be assigned).

    Displaying a running clock showing the amount of time the process is taking, is also a nice touch.

提交回复
热议问题