opticalman
Programmer
I am using FVP8
I am converting my 15 year old Clipper program to VFP.
I use the KEYPRESS event to trap for keyboard control of my forms. If I set the forms ShowWindow property to TOPLEVEL, I can trap for the F10 key. If I set the forms ShowWindow property to SHOW IN TOPLEVEL, the F10 key is trapped by the MAIN MENU in the top level form. All of the other keys, and F2 through F12 are trapped as expected. Any suggestions on how to trap F10 in a form set to SHOW IN TOPLEVEL, or shall I just use another function key than F10?
Jim Rumbaugh
I am converting my 15 year old Clipper program to VFP.
I use the KEYPRESS event to trap for keyboard control of my forms. If I set the forms ShowWindow property to TOPLEVEL, I can trap for the F10 key. If I set the forms ShowWindow property to SHOW IN TOPLEVEL, the F10 key is trapped by the MAIN MENU in the top level form. All of the other keys, and F2 through F12 are trapped as expected. Any suggestions on how to trap F10 in a form set to SHOW IN TOPLEVEL, or shall I just use another function key than F10?
Jim Rumbaugh