【发布时间】:2012-11-06 00:26:32
【问题描述】:
任何人都知道如何将进度条的百分比放在进度条下方
例如:在 photoshop inno setup 5.5.1-unicode+Script ISDone 0.6 中编辑的图像,谢谢
【问题讨论】:
-
我们为什么要帮你盗版?
-
也许这只是现有安装程序的一个示例?
标签: inno-setup
任何人都知道如何将进度条的百分比放在进度条下方
例如:在 photoshop inno setup 5.5.1-unicode+Script ISDone 0.6 中编辑的图像,谢谢
【问题讨论】:
标签: inno-setup
如果你想把百分比标签放在Installingwizard page上,那我觉得是不可能的。但是您可以使用CreateOutputProgressPage,它可以让您控制进度条,并且您可以通过 Pascal 脚本添加百分比标签。
[Code]
procedure InitializeWizard();
var
Page: TOutputProgressWizardPage;
PercentLabel: TLabel;
begin
Page := CreateOutputProgressPage('Caption', 'Description');
Page.ProgressBar.Show;
PercentLabel := TLabel.Create(Page);
PercentLabel.Top := Page.ProgressBar.Top + 20;
PercentLabel.Caption := '0%';
...
end;
另请阅读此问题:Inno Setup Simple progress page for Run section。它演示了如何控制进度。
【讨论】:
CurInstallProgressChanged event来计算百分比了。