>Funny thing I've noticed on this thread, I could never get my ON KEY LABEL F10 to do anything. It seemed that either VFP or Win95 had so completely taken over the key that I couldn't misuse it no matter how determined I was. Not that I would try now, but did I miss something?
I dunno if you missed something or not. I'm not at that computer right now, but I'd swear that when I used OKL's in VFP5.0 to simulate the F1-F10 keys from the old DOS app I was re-creating, everything worked as I expected. Then I figured out that I should be using the form's KeyPress event and KeyPreview property instead of OKLs. I switched to that, and it refused to intercept the F10 key. That's my memory of the situation. But I've been known to misremember things. I think it was one time, but I don't remember for sure. :) :)
Rich.
Rich Addison, Micro Vane, Inc., Kalamazoo, MI
Relax, don't worry, have a homebrew.
- Charlie Papazian, The New Complete Joy of Home Brewing