How to know if a flexbutton has been previously pressed ? (button tag)
Hi everyone,
I have a button (flexbutton), that should triggers a different action depending on his previous state. For instance, my button should light on or light off a light, depending on his previous state. If the button was previously activated, it switchs the light off, and vice-versa.
In WPF I used a proprety called "tag", which was changing depending on the user actions, but is such thing or similar available in TouchGFX ?
I don't want to use toggle buttons, multiple buttons or create a variable in code.
Thanks!
