Topic: Buttons and Evars with nModules
Hi I've managed to update a lot of my themes to the new nModules but I'm having trouble converting a line of code.
ButtonOnLeftClick !ParseEvars !ParseEvars %#%[exportedevar('ButtonCurrentState')]%OnLeftClick%#
where it'd switch between two values for ButtonCurrentState
ButtonState1OnLeftClick "!execute [!setevar ButtonCurrentState ButtonState2]"
ButtonState2OnLeftClick "!execute [!setevar ButtonCurrentState ButtonState1]"
Basically I need to know how that'd look with nTheme coding, because I've looked through the Docs, and so far I'm stumped.