|
-
Jun 15th, 2001, 10:13 AM
#1
Thread Starter
Lively Member
Performing command when enter is hit
How do I made a command perform when the enter button his hit?
Thanks
-
Jun 15th, 2001, 10:16 AM
#2
Like when your typing in a textbox?
in the KeyPress event:
If KeyAScii = 13 then
'do code
end if
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 15th, 2001, 10:18 AM
#3
Thread Starter
Lively Member
-
Jun 15th, 2001, 11:22 AM
#4
Addicted Member
how about in a form??
thats capture the "enter" key being pressed??
-
Jun 15th, 2001, 11:27 AM
#5
if its for a form:
set the KeyPreview to true
then stick it in the KeyPress event
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jun 15th, 2001, 11:30 AM
#6
Addicted Member
cheers
thanks tghis is just for future reference!
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
|