I need a pushbutton in GUI with two states. My requirements are as follows:-
1. It should have ON and OFF states. On clicking it should toggle between both.
2. When ON it should be in Red colour. When OFF it should be Green colour.
3. In either state a different job has to be done.
How can I implement this?
Bookmarks