Recent

Author Topic: visual wait indicator for long backgroung operations  (Read 557 times)

Чебурашка

  • Hero Member
  • *****
  • Posts: 579
  • СЛАВА УКРАЇНІ! / Slava Ukraïni!
visual wait indicator for long backgroung operations
« on: March 16, 2023, 05:31:43 pm »
Hello,
I have a windows gui application doing activities that could take long and I put these activities in a separate thread to avoid ui blocking.

I would show in the meanwhile a something to tell to the user that application is operating on background and wait (a spinning would be fine).

Is there something ready to use?

Thanks
FPC 3.2.0/Lazarus 2.0.10+dfsg-4+b2 on Debian 11.5
FPC 3.2.2/Lazarus 2.2.0 on Windows 10 Pro 21H2

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: visual wait indicator for long backgroung operations
« Reply #1 on: March 16, 2023, 05:46:17 pm »
TProgressBar has property Style which can be set to pbstMarquee. Moreover, it should be possible to place ProgressBar on StatusBar. You can search the forum.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2269
  • Fifty shades of code.
    • Delphi & FreePascal
Re: visual wait indicator for long backgroung operations
« Reply #2 on: March 16, 2023, 07:07:52 pm »
Or a Gauge/Knob (there are many different) running in a timer a smooth continious spinning
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

 

TinyPortal © 2005-2018