>Can't active nKeyCode=-1 on Events KeyPress of Form? But Other nKeyCode be active.I have this problem only use on Windows 2000 and Windows Xp with VFP7
>only.
If you're trying to run your app in the VFP7 IDE, the F2 key is the hotkey used in the menu for moving between bookmarks. You can't use any key in the keypress that has a hot key defined in a menu.