Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Menubar is changed (reset) by a modal form
Message
De
13/03/2000 15:13:46
 
 
À
13/03/2000 13:56:50
Dave Turnbull
Camel Services Ltd
Oxford, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00345068
Message ID:
00345100
Vues:
21
>When I run a modeless form I also replace the default _Msysmenu bar with my own (cf modify it, as in "activate menu xyz"), A modal "popup" form is sometimes requred (when the user selects certain actions from the modeless form).
>When the modal form is dismissed the menu bar resets itself to the default foxpro one.
>
>Why?
>
>How do I stop it please?
>
>Dave Turnbull
>
>PS I've tried push/pop _msysmenu around the dialog.show(), and even an "activate menu xyz" but they do not work.


Sounds like you have either a POP MENU or a SET SYSMENU TO DEFAULT in the modal form. Nothing to do but trace through the code in the modal form and it's class library. It could also be in the method that calls the modal form.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform