04-27-2010 12:15 PM
04-27-2010 12:31 PM
04-27-2010 02:16 PM
Purdue17 wrote:
Is there a way to have a Boolean switch that stays pressed when released cause another Boolean to switch only momentarily from False to True?
Please explain a little better. Do you want the first switch to cause a momentary toggle of the second switch when the first switch is pressed? Also, do you want the first switch to stay on after mouse up? Or do you want the first switch to cause a toggle when the first switch is released. By released, do you mean when the mouse is released or when the switch is clicked a second time.
Maybe explain like this:
Mouse down on switch 1 - cause toggle of switch 2
Mouse up on switch 1 - switch 1 stays on until Mouse down a second time.
or maybe:
Mouse down on switch 1 - switch 1 goes on, nothing else happens
Mouse up on switch 1 - switch 1 goes off and switch 2 toggles.