FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Help-me (https://fileforums.com/showthread.php?t=97821)

coveiro 01-04-2016 13:41

Help-me
 
adding an option to download with checkbox,

example: to download only to mark the check box?

ShadowEagle 05-04-2016 07:32

You should explain more detailed what you want to do. "Adding a checkbox" is wider range question :)

coveiro 05-04-2016 08:46

I want to put a DLC for downloads, only low when I turn on the check box

[] Download the DLC xxx

Quote:

sample code, wanted to add a checkbox to use this feature

[Code]
procedure InitializeWizard();
begin
itd_init;

itd_addfile('http://www.sherlocksoftware.org/petz/files/dogz5.zip',expandconstant('{tmp}\dogz5.zip'));
itd_addfile('http://www.sherlocksoftware.org/petz/files/petz4.zip',expandconstant('{tmp}\petz4.zip'));

itd_downloadafter(wpReady);
end;

procedure CurStepChanged(CurStep: TSetupStep);
begin
if CurStep=ssInstall then begin //Lets install those files that were downloaded for us
filecopy(expandconstant('{tmp}\dogz5.zip'),expandc onstant('{app}\dogz5.zip'),false);
filecopy(expandconstant('{tmp}\petz4.zip'),expandc onstant('{app}\petz4.zip'),false);
end;
end;


All times are GMT -7. The time now is 23:39.

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