View Single Post
  #11  
Old 08-03-2013, 08:41
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 314
Thanks: 218
Thanked 27 Times in 22 Posts
danswano is on a distinguished road
Thank you altef, can i make the progress bar percent dynamic?
if i have 2 tasks then this code should be:
Quote:
WizardForm.ProgressGauge.Position:=WizardForm.Prog ressGauge.Position +50;
and if i have 4 tasks the code should be:
Quote:
WizardForm.ProgressGauge.Position:=WizardForm.Prog ressGauge.Position +25;
is there any thing could be added to the code so it calculate the percentage dynamicly based on the number of the tasks?
Reply With Quote