Jorge Ramirez
August 2nd, 1999, 11:52 PM
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++?
Do I need to read twice the keyascii var like C++?
|
Click to See Complete Forum and Search --> : Extended keys Jorge Ramirez August 2nd, 1999, 11:52 PM 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++? Lothar Haensler August 3rd, 1999, 01:36 AM 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 Dr_Michael August 3rd, 1999, 01:45 AM 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 codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |