We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi, I am in need of some help, again. -sigh- I am working with the G4P Image Toggle Button, and I would like to change the behavior so that when you click on the button, it will automatically switch states. Right now the way that it is it will only change states when you click and then release the mouse. I tried using the event handler function that was provided in the example but that did not make sense to me because that was for one single button, but I have a class (called keys) that is an extension of the GImage Toggle Button class.
Answers
A mouse click event is defined by pressing and releasing the mouse button without moving the mouse so I am not sure what you mean by click followed by release.
Please post the code for the keys class.