Page 1 of 1

Toggle button between two states

Posted: Wed Oct 19, 2016 2:29 pm
by bjorn.syse
Hi!

Is it possible to create a toggle button that switches between two states each time it's clicked. Perhaps one that changes it's image aswell every time it's activated.

Best regards

- Björn

Re: Toggle button between two states

Posted: Thu Oct 20, 2016 9:50 am
by bjorn.syse
Hi again

I think I found my own answer to this question,

I just created two buttons, placed on top of eachother. The first one does three things
  • 1. Changes the state
  • 2. Hides itself
  • 3. Shows the other button
Second button does the opposite.

Image
Image