Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not really with the designer, but a menu issue anyway
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Not really with the designer, but a menu issue anyway
Divers
Thread ID:
00091727
Message ID:
00091727
Vues:
61
I have a set of five forms that will automatically pop up the correct menu bar according to a property that they contain. There are 3 different menus that can possibly be displayed depending upon which form is "on top". The menus are activated through the .Activate() event in my form template class. The problem is this; any modal dialog forms (which do not have this menu property, nor any code to run to display a menu) always swap menus. For reasons that I cannot seem to pinpoint, when these modal dialogs enter their .Destroy() event, I can see the wrong menu getting displayed. No code is run to do this....it just happens. Modal forms have their own form template, have nothing is in their .Activate() event and are not in anyway related to the form template used for modeless forms. I've managed to work around it, but the menus still "flash" as they are swapping so I know it is still doing it. Anyone else ever see this?

Steve
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform