HKProgressbar is a completely different approach to long loops that you might do sometime. You set up the component and it starts your process in a different thread (or not), so you can continue using your program if wanted. If you want, a progress bar is shown, optionally with a cancel button. This way you can implement with very little code secondary threads, that can handle a cancel from the user. Can adopt to every situation. You don't have to worry about opening and closing the progress form. Source & Demo with EXE included. |