Hi all, dipping my feet back into the Inno pool again - I have gotten to the point where I am trying to add a label, but the label does not show up. Perhaps I am missing something?
[CODE]
Code:
var
DesktopIconCheckBox: TNewCheckBox;
Progress: TNewProgressBar;
RequiredLabel: TLabel;
Code:
Requiredlabel := TLabel.Create(WizardForm);
with Requiredlabel do
begin
SetBounds(10, 160, 390, 25);
RequiredLabel.Caption := ExpandConstant('{cm:RequiredSpace} {#Size}');
end;
{#Size} is a predefined variable.
Code:
procedure CurPageChanged(CurPageID: integer);
begin
if CurPageID = wpWelcome then
begin
Progress.Hide;
RequiredLabel.Show;
end;
This is the code for the lable, but it does not show when the installer is running:
The pink highlights were the label is meant to be.