How to handle unchecking a checkbox error?
I want the user to select only one item using the following e.g.
Names Default To Here( 1 );
New Window( "Example",
cb = Check Box(
{"Max", "Median", "Min", "Mean", "Std Dev"},
returned = (cb << Get Selected ())[1];
Print( returned ) //{"Mean", "Std Dev"} or etc
)
);
The above works, but if the user checks and then unchecks the checked box, JMP throws an error as it can no longer execute
...