The F2 key returns -1. The INKEY() help topic has the complete list of key values. Is this what you needed to know?
BTW there are some duplicate values in that list. For example, 'CTRL+h' and 'ALT+8' both return 127. Not that anybody typically needs to differentiate between those two, but still it's something to be aware of.
>I have a similar Keypress event question. But I am trying to use F2 as the key pressed. Of what I understand it does not return any value when pressing the F2 key. So basically nothing is happening.
>
>Any advice?
>
>Thanks,
>
>Alex
Rick Borup, MCSD
recursion (rE-kur'-shun) n.
see recursion.