As a general recommendation: try to avoid using Alt+<letter> keystroke combination for your own purposes. Almost all of these combinations are reserved as shortcut key sequences by OS or VFP itself, i.e. Alt+F, Alt+W, Alt+Z, etc. I found it out the hard way.
I'd suggest using Alt+Shift+<letter> instead, or Ctrl+<letter> (the later also can be dangerous, think of Ctrl+F, Ctrl+C, Ctrl+V, etc.)
ON KEY LABEL Alt+<letter> is one way to bypass system defined key sequence. Just don't forget PUSH KEY before redefining, and POP KEY after you've done with your routine, and most of all - ON KEY LABEL on exiting your program.
Regards,
Ilya