Multiple, dependent check boxes, only one of which can be selected at a time?
I'm building a tool in which I need to provide users the ability to easily switch between different objects that each have their own unique properties.
Less abstractly—this tool uses many equations concurrently to show the user a host of output data graphically and as text. I need to provide the user with the ability to select different "objects", each of which contain a list of intrinsic values that the equations in my tool require.
I was thinking of trying this with just a set of check boxes, each individually representing an object, and depending on which is selected, the variables for it will populate the equations in the tool. But it doesn't seem like there's any way to enforce a check-only-one type rule.
Is there another way to do this? It needs to be graphical, so that a user can easily select their desired object without having to manually enter any data.
In addition to this, it would actually be incredibly useful to have an additional tool in the program for creating dropdown lists.
concerning dropdown lists, you can create them out of any list you defined by selecting the option dropdown list in its Properties window (tab Basic). After defining a variable number with the command SelectedIndex[list], you can indeed show or hide a serie ofb items, depending on the value of this variable.
It's also possible to create checkboxes 'check only one'. In a script on each ckeckbox you can make it 'check only one' as follows: Use the command SetValue[<check box>,false] for all the other boxes, so checking one box, the others will be unchecked.
Comments have been locked on this page!