I made a script that contains a list of check boxes followed by a "Select All" Check box. I set the function of the "Select All" check box to select all of the other boxes when it is checked, but now I cannot figure out how to uncheck all the other boxes when the "Select All" check box is unchecked.
Any suggestions?
V List Box(
othicb = Check Box( {"MOErA*", "MOErC*", "MOErT*", "MOErG*"} ),
Spacer Box( 25 ),
H List Box(othia = Check Box( " ", <<SetFunction( othicb << Set All( 1, run script( 1 ) ) ) ), Text Box("Select All Thioated MOE", <<Set Width(90), <<Set Wrap(90)))
),