View Single Post
  #2  
Old 26-03-2015, 03:01
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Look at
procedure SetStateNewButtons;

you have this
with WizardForm.CancelButton do begin
BtnSetText(CancelBtn,PAnsiChar(WizardForm.CancelBu tton.Caption));
BtnSetVisibility(CancelBtn,Visible);
end;

with WizardForm.CancelButton do begin
BtnSetText(CancelBtn,PAnsiChar(WizardForm.CancelBu tton.Caption));
BtnSetVisibility(CancelBtn,Visible);
end;

look at the bold part,

this procedure gets used each and everytime and it depends on cancel button's visibility

and when you check CurpageChanged procedure under wpInstalling
you have
WizardForm.CancelButton.Hide;
which is why the buttons get's hidden, I think.

Also under CurStepChanged, there is HideControls;

just find a way to deal with those procedure and the button visibility problem will be dealt with.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Bilawal (27-03-2015)