|
|
|
|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
#11
|
||||
|
||||
|
You have to make a label, a timer and do some calculations.
for example if using Inno Setup Enhanced Edition var Timer: TTimer; PGPC: TLabel; procedure PBTimer(Sender: TObject); begin if WizardForm.ProgressGauge.Max <> 0 then PGPC.Caption:= IntToStr((WizardForm.ProgressGauge.Position * 100) div WizardForm.ProgressGauge.Max) + '%'; end; procedure InitializeWizard; begin PGPC:= TLabel.Create(WizardForm); with PGPC do begin SetBounds(Left,Top,Width,Height); Parent:=WizardForm; end; Timer:=TTimer.Create(WizardForm); with Timer do begin OnTimer:=@PBTimer; Interval:=500; Enabled:=True; end; end; Use Curpage to show and hide label. Last edited by Razor12911; 29-04-2014 at 06:23. |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |
| soft mod - opinions, questions | dneray22 | XBox Games | 2 | 01-08-2003 06:36 |
| A few questions I need answered. | rms2001 | XBox Games | 5 | 05-12-2002 12:55 |
| Newbie with 1,000 questions ( not really 1,000, but close enough) | tdoran70 | PS2 Games | 3 | 29-05-2002 00:47 |
| A few questions, PLLeaase Read | Bill-Something | PSX Games | 6 | 18-08-2001 08:18 |