FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Problem with installing (https://fileforums.com/showthread.php?t=96773)

Bilawal 24-03-2015 05:38

Problem with installing
 
1 Attachment(s)
I got a problem while install with my script. If i chose "no" during cancel option in installing the cancel button disappears.

http://s15.postimg.org/jn18fh3yz/Untitled0.jpg

http://s3.postimg.org/90vwu6b5v/Untitled1.jpg

http://s9.postimg.org/m6fs1psxr/Untitled2.jpg


Help Me.!


Razor12911 26-03-2015 03:01

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.

Bilawal 26-03-2015 23:55

Can't find anything about this. Please do something if you have time.


All times are GMT -7. The time now is 11:45.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com