View Single Post
  #7  
Old 09-10-2024, 16:45
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Dario06 View Post
perfect!
it works now


the code says if there is an error in isdone you have to go back to 100%, I'm right cesar?
or if it doesn't find isdone
Code:
  if not ISDoneError then
  begin
    WizardForm.ProgressGauge.Position := 1000;
  end;
For some reason the native progress bar has a delay and when the wizardform is resized the bar does not update.
This causes the bar to return to 100% if no error occurs.

Last edited by Cesar82; 09-10-2024 at 16:47.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Behnam2018 (09-10-2024)