Link to home
Start Free TrialLog in
Avatar of aldhubaib33
aldhubaib33

asked on

Toggle button

hi
thanks for the help
i have a button that has an images for each different states
what i want to accomplish is , the button will have the press state until another button is clicked
any ideas ?
ASKER CERTIFIED SOLUTION
Avatar of Lieven Embrechts
Lieven Embrechts
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ConcordMacs
ConcordMacs

You could just have the text on the button be a global text field.  When that button, or the other is pressed, a script modifies the global text field.  Button A text could be Open or Closed.  The script for it would say "if button a = open, set button a to closed, else set button a to open.