procedure ShowComponents(CurPageID: Integer); begin PageNameLabel.Caption:=WizardForm.PageNameLabel.Caption PageDescriptionLabel.Caption:=WizardForm.PageDescriptionLabel.Caption case CurPageID of wpWelcome: begin Welcome.Font.Color := $00FFFF; ImgSetPosition(StatusPanel,ScaleX(0),ScaleY(95),ScaleX(114),ScaleY(20)); WelcomeLabel1.Show WelcomeLabel2.Show end; SystemPage.ID: begin System.Font.Color := $00FFFF; ImgSetPosition(StatusPanel,ScaleX(114),ScaleY(95),ScaleX(114),ScaleY(20)); ImgSetVisibility(RequirementsPanel,True); RequirementsLbl.Show; ProcessorLbl.Show; ProcessorNameLbl.Show; VideoCardLbl.Show; VideoCardNameLbl.Show; SoundCardLbl.Show; SoundCardNameLbl.Show; RAMLbl.Show; RAMTotalLbl.Show; SystemLbl.Show; SystemNameLbl.Show; end; wpSelectDir: begin Catalogue.Font.Color := $00FFFF; ImgSetPosition(StatusPanel,ScaleX(228),ScaleY(95),ScaleX(114),ScaleY(20)); ImgSetVisibility(Edit,True); ImgSetVisibility(DirFolder,True); ImgSetVisibility(HardDrivePanel,True); ImgSetVisibility(HDD,True); BtnSetVisibility(hDirBrowseBtn,True); SelectDirBrowseLabel.Show DirEditLabel.Show; TotalSpaceLabel.Show; FreeSpaceLabel.Show; NeedSpaceLabel.Show; end; wpSelectProgramGroup: begin StartMenu.Font.Color := $00FFFF; ImgSetPosition(StatusPanel,ScaleX(342),ScaleY(95),ScaleX(114),ScaleY(20)); ImgSetVisibility(GroupFolder,True); ImgSetVisibility(Edit,True); BtnSetVisibility(hGroupBrowseBtn,True); BtnSetVisibility(NoIconsCheck,True); SelectStartMenuFolderBrowseLabel.Show; WizardForm.GroupBrowseButton.Show; GroupEditLabel.Show; NoIconsLabel.Show; end; SelectTasksPage.ID: begin Tasks.Font.Color := $00FFFF; ImgSetPosition(StatusPanel,ScaleX(456),ScaleY(95),ScaleX(114),ScaleY(20)); BtnSetVisibility(DesktopCheck,True); BtnSetVisibility(QuickLaunchCheck,True); BtnSetVisibility(DirectXCheck,True); BtnSetVisibility(LanguageButton[1],True); BtnSetVisibility(LanguageButton[2],True); BtnSetChecked(DirectXCheck,True); SelectTasksLabel.Show; DesktopLabel.Show; QuickLaunchLabel.Show; DirectXLabel.Show; LanguageLabel.Show; LngNameLbl.Show; WizardForm.NextButton.Caption:=SetupMessage(msgButtonInstall); end; wpInstalling: begin Installing.Font.Color := $00FFFF; ImgSetPosition(StatusPanel,ScaleX(570),ScaleY(95),ScaleX(114),ScaleY(20)); StatusLabel.Show; FilenameLabel.Show; ProgressInfoLabel.Show; end; wpFinished: begin Finish.Font.Color := $00FFFF; ImgSetPosition(StatusPanel,ScaleX(684),ScaleY(95),ScaleX(114),ScaleY(20)); BtnSetPosition(hNextBtn, ScaleX(657),ScaleY(487),ScaleX(106),ScaleY(39)); FinishedHeadingLabel.Show; FinishedLabel.Show; end end; end; |