|
-
Jan 13th, 2000, 04:25 AM
#2
Hyperactive Member
Hi,
This may work:
dim run as boolean
--------------------
do until run = false
' ball bouncing code
loop
Private Sub Form_KeyPress(KeyAscii As Integer)
dim strKey as string
strKey = chr(keyascii)
if strKey = "x" then run = false
End Sub
-------------------
I hope it works!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|