|
-
August 2nd, 1999, 11:52 PM
#1
Extended keys
How can I read the keys like F1,F2, F3 or MoveKeys (Up, Left, Down, Right) from a Keypress method ?
Do I need to read twice the keyascii var like C++?
-
August 3rd, 1999, 01:36 AM
#2
Re: Extended keys
take this as a starter
private Sub Form_KeyUp(KeyCode as Integer, Shift as Integer)
If KeyCode = vbKeyF1 then
MsgBox "F1"
End If
End Sub
-
August 3rd, 1999, 01:45 AM
#3
Re: Extended keys
Function keys are not ascii characters but ANSII!
With this in mind, keep going on. About cursor keys use vbKeyDown. vbKeyUp, vbKeyHome, vbKeyEnd, etc.
Michael Vlastos
Company MODUS SA
Development Department
Athens, Greece
Tel: +3-01-9414900
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
|