Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with partial menus
Message
De
16/03/1999 07:03:50
 
 
À
16/03/1999 06:48:46
Christian Cote
Les Logiciels Onoma Inc.
Longueuil, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00197979
Message ID:
00197984
Vues:
26
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform