Information générale
Catégorie:
Gestionnaire de menu & Menus
Hi David,
Thanks for your reply.
In the load method of the form, right at the very start...
PUSH MENU _msysmenu
DO MENU menuname.mpr
...then in the destroy section I 'POP MENU _msysmenu'.
Any hot keys I have placed in the menu designer continue to stay active, no matter what form is displayed or what menu is displayed. The only way to stop this action is to quit the app. On starting the app again every thing is OK until I go to the form that fires the menu with my user defined hot keys.
Regards
Doug Johnston
>>Hi,
>>
>>My app starts off with simple main screen and main menu, when I move to one of my modules from this main screen I show another menu which contains next record and prior record.
>>
>>Next contains an F5 hot key and prior contains an F4 hot key. Everything works fine. In the Destroy method of this form, I release this particular menu, pop my original main menu and even reset the F5 & F4 keys with ON KEY LABEL.
>>
>>However from then on in my app if the F5 or F4 key is pressed, the record pointer is moved if there is an open database or the Open Database window ios displayed if there is no current database open.
>>
>>This is looking very much like a bug in VFP6.00.8167.00. I hope someone can help me.
>>
>>Regards
>>Doug Johnston
>
>Doug,
>It sounds like the menu isn't being properly released.
>Are you going...
>
>push menu _msysmenu
>do navmenu.mpr && or whatever you call it
>pop menu _msysmenu
>
>I don't have a problem in any version of VFP6, it doesn't sound like a bug at this stage.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement