|
-
Mar 21st, 2002, 02:23 AM
#4
New Member
The ENTER key is never detected on my system through AScii vbKey Return. I have even tried toggling the keyPreview option of the form.
I have also tried the following code but the ENTER key does not return anything. Others work well.
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyF1: MsgBox "F1 is your friend."
Case vbKeyDelete: MsgBox "F2 could copy text."
Case vbKeyReturn: MsgBox "F3 could paste text."
Case vbKeyF4: MsgBox "F4 could format text."
End Select
End Sub
Please reply on my email address.
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
|