View Single Post
  #302  
Old 03-04-2013, 13:06
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
it means there are two, initializewizards.
if you come across such, just copy all the content in the procedure or function to the one which comes first. for example:

procedure IntializeWizard;
begin
Result:=True;
end;

procedure InitializeWizard;
begin
DirTreeView:= TFolderTreeView.Create(WizardForm)
DirTreeView.SetBounds(0,100,417,110)
DirTreeView.OnChange:= @DirFolderChange
DirTreeView.Parent:= WizardForm.SelectDirPage
end;

to

procedure IntializeWizard;
begin
DirTreeView:= TFolderTreeView.Create(WizardForm)
DirTreeView.SetBounds(0,100,417,110)
DirTreeView.OnChange:= @DirFolderChange
DirTreeView.Parent:= WizardForm.SelectDirPage
Result:=True;
end;
Reply With Quote