View Single Post
  #3  
Old 25-08-2017, 06:16
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
How i can hide
Code:
wpInfoBefore: begin
      WizardForm.NoStartMenu.Hide; WizardForm.Icons.Hide;
    end;
Unknown identifier

Code:
var
  Icons: TNewCheckBox;
  NoStartMenu: TNewCheckBox;
Code:
NoStartMenu := TNewCheckBox.Create(WizardForm);
  with NoStartMenu do begin
    Parent := WizardForm.InnerPage;
    Left := ScaleX(46);
    Top := ScaleY(224);
    Width := ScaleX(411);
    Height := ScaleY(17);
    Caption := 'Don''t create Start Menu folder';
    OnClick := @NoStartMenuClick;
    Checked := False;
  end;

  Icons := TNewCheckBox.Create(WizardForm);
  with Icons do begin
    Parent := WizardForm.InnerPage;
    Left := ScaleX(46);
    Top := ScaleY(248);
    Width := ScaleX(411);
    Height := ScaleY(17);
    Caption := 'Create {#Name} Desktop Icon';
    Checked := False;
  end;
__________________
Haters gonna hate

Last edited by KaktoR; 25-08-2017 at 06:18.
Reply With Quote