Hey Sergey,
The thread you pointed me to seemed to relate to VFP 7.0, is the same true of VFP 8.0 (that's what we're using). Does 8.0 provide any other means of trapping the F2 key?
Thanks again.
Rodd
>Hi Rodd,
>
>Removing Bookmarks from the Edit menu doesn't release F2. See
F2 and keypress Thread #
797985 for a workaround.
>
>>In my program, I have the following:
>>
>>set sysmenu to _MEDIT, _MWINDOW
>>release bar _MED_BKMKS of _MEDIT
>>...
>>
>>
>>The other release statments (denoted with the ...) work fine (removing things from the _MWINDOW menu. However, I can't seem to get rid of the bookmarks menu.
>>
>>I need to get rid of this menu because it keeps me from being able to trap the F2 key in my form's keypress event.
>>
>>Does anyone know how to get rid of it or better yet, how to get F2 to trigger my form's keypress event?
>>