![]() |
Flip a boolean local variable with a button
I was wondering how I might flip a local Boolean variable using a single button. I can of course use the NOT command and set up a switch to invert the variable anytime the button is pushed. The problem is it will constantly be flipping the variable while the button is held. I want it to only flip it one time and then wait until the button is released and before flipping it again.
|
Re: Flip a boolean local variable with a button
Quote:
|
| All times are GMT -5. The time now is 04:00. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi