I have a set of 8 images showing combinations of 3 different functions. There should be one button to activate/de-activate each of the 3 functions.
Like this:
Click button 1: Open image with function 1 active
Click button 2: Open image with functions 1 and 2 active
Click button 1 again: Open image with function 2 active
Click button 3: Open image with functions 2 and 3 active
And so on

I have tried by letting the buttons set/clear a variable each, then using if ... then .... else ....to determine what buttons are pressed and then which image to open, but I can't get it to work.

Any suggestions, please?