[英]Inno Setup - How can I put a version number on the bottom left corner of welcome page
在InitializeWizard
事件函數中創建一個新的TNewStaticText
標簽:
[Code]
procedure InitializeWizard();
var
VersionLabel: TNewStaticText;
begin
VersionLabel := TNewStaticText.Create(WizardForm);
VersionLabel.Caption := Format('Version: %s', ['{#SetupSetting("AppVersion")}']);
VersionLabel.Parent := WizardForm;
VersionLabel.Left := ScaleX(16);
VersionLabel.Top :=
WizardForm.BackButton.Top +
(WizardForm.BackButton.Height div 2) -
(VersionLabel.Height div 2)
end;
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.