-
I was wondering, how do I check when a button is clicked
when you're in another loop. Caus' I want to use the same
buttons 1, 2 and 3 over and over again. But I don't want to
do it with the Click event. U know what i mean? I just want
to check if a button is clicked without using the click-
event.
-
Sorry, you have to:
Code:
Private clicked As Boolean
Private Sub Command1_Click()
Do
DoEvents
Loop Until clicked
MsgBox "DOne!"
cliked = False
End Sub
Private Sub Command2_Click()
clicked = True
End Sub