View Full Version : assigning a file to a checkbox
goingMad
08-25-2000, 08:10 AM
Say I have 12 files for a project, but they are all standalone files.
I click on the "Screen Manager" icon and select "Add a new screen". I then select the "Check box 12" screen.
How do I attach each of my files to the correct check box?
Thanks in advance.
K
------------------
Hi,
Well what you do is assign a variable to each check box, probable something like:
%FileName%. Now, when one of the checkboxes is checked it will set the variable to: "Checked", the default is "Unchecked".
Now on the main screen select the file that %FileName% refers to, and double click to get the File Properties. Go to the Conditions tab, and add a new Boolean Condition. Your Boolean condition will be:
"%FileName% = Checked". What this does is it says do not install this file unless this variable equals Checked. Simply do this for all of the files and everything should work out fine.
mark.
goingMad
08-25-2000, 10:17 AM
Hey Mark, thanks a lot for your help!
Take care.
goingMad
Originally posted by Mark:
Hi,
Well what you do is assign a variable to each check box, probable something like:
%FileName%. Now, when one of the checkboxes is checked it will set the variable to: "Checked", the default is "Unchecked".
Now on the main screen select the file that %FileName% refers to, and double click to get the File Properties. Go to the Conditions tab, and add a new Boolean Condition. Your Boolean condition will be:
"%FileName% = Checked". What this does is it says do not install this file unless this variable equals Checked. Simply do this for all of the files and everything should work out fine.
mark.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.