|
|
#1 |
|
Junior Member
Join Date: Nov 2009
Posts: 4
|
Section toggle
I would like to create two sections in my installer wich can't be selected together. I wan't them only to be i one of these states: both unselected. Only section A selected or only section B selected. Does someone have an example script for me?
thank you in advance! |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
The google keyword is 'mutually exclusive sections'.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2009
Posts: 4
|
Wonderfull google keyword. Was searching on a bunch of terms, but this hits the nail right on the spot!
Thank you very very much!! |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Nov 2009
Posts: 4
|
still a little problem here, but i'm comming closer. When i add this to my script i can use it for two sections. How would a make it work for another two sections?
example: A B C D I can choose either A or B or none of them AND I can choose either C or D or none of them AB and CD are independend from each other. thx! |
|
|
|
|
|
#5 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
Simply duplicate the code, and use a second variable to keep track of the second section group.
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Nov 2009
Posts: 4
|
Hi,
thank you for your guidance. I have it almost working. Problem is that selecting sectionB doesn't unselect sectionA anymore when one has selected sectionC or D I have to manually unselect sectionA to be able to select sectionB again. Most likely something stupid i've done, but perhaps it's easily fixed. I've pasted my code below. code: thank you, Martin Sorry, found my error. I was using $R9 two times. Changed one instance to $R8 and working flawless now. thank you! |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|