Hello all,
I am trying to create an app to test one's reflexes. As part of it, I would like to add a piece of code that will check to see if a button is being pressed. In this situation, putting the code into Sub Button_Up doesn't work, since that part of the program doesn't run until after my reflex-tester program finishes. I took a shot in the dark and tried the following, but it didn't work. Any suggestions would be much appreciated!
I am trying to create an app to test one's reflexes. As part of it, I would like to add a piece of code that will check to see if a button is being pressed. In this situation, putting the code into Sub Button_Up doesn't work, since that part of the program doesn't run until after my reflex-tester program finishes. I took a shot in the dark and tried the following, but it didn't work. Any suggestions would be much appreciated!
If Button1.Up = 1 Then
Button1.Text = "early"Else
Button1.Text = "late"End If