Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with partial menus
Message
From
16/03/1999 07:03:50
 
 
To
16/03/1999 06:48:46
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00197979
Message ID:
00197984
Views:
24
>HI,
>My main application menu has no pad for record navigation or action. So when I issue a form that has record navigation capability, I simply call a partial menu RECORD that add the record actions capability.
>
>In that partial menu, I use shortcuts like CTRL + N for new records, etc. My first problem is that when I call the partial menu in the form's activate (PUSH MENU, DO RecordAct.mpr) and then issuing CTRL + N, it only activate the menu pad and display the popup, but will not do the new record command.
>
>After it, when I move away from the form or quit the form, the partail menu is disapearing (POP MENU in the deactivate or the destroy method), I can still do CTRL + N and the application tries to add a new record.
>
>Thank you for your help,
>Christian Cote

Maybe the menu item isn't executed immediately because of the SET CONFIRM setting in VFP. (I know it influenced the behaviour of @ MENU TO in VFP2.0.)

Also, you may try to do a RELEASE POPUP ... EXTENDED or so before calling POP MENU, to make sure the menu definitions are gone.

Good luck.

Marc Van Riet
Previous
Reply
Map
View

Click here to load this message in the networking platform