I would like to add a series of 3-4 checkboxes to my GUI. The data being displayed in my GUI would depend upon which combination of checkboxes the user selects. For example, if the user selects boxes 1 and 2, a specific piece of data would be displayed, but if the user selects 1 and 3, another would be displayed, etc.
How would I go about coding this? I know that variables can be assigned to the checkboxes. In my if statement, would I just do two conditions? For example, if variable == 1 & variable == 2
Thank you in advance for your help.
Aucun commentaire:
Enregistrer un commentaire