Information générale
Catégorie:
Gestionnaire de menu & Menus
>>>>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
>>SET SYSMENU TO
>>is issued in the "main" of the application. Doesn't that shut off the system menu? None of the menus in this app have anything to do with any VFP menus. They are all built using the menu designer. This app does run in a top-level form but the appropriate box is checked. The menu that reappears is the "main" menu, the first one that is run......I don't know if that matters or not. I am not issuing any push or pop commands so they are just hanging around in memory until the app closes where they are released.
>>
>
>Humor me :-) When going into one of the modal forms, SET SYSMENU OFF before your DO FORM....then, on return to the calling form, SET SYSMENU ON or SET SYSMENU AUTO, whatever your current setting is. Lemme know if this helps.
OK, I'll humor you. And let you know what happens.
Steve
Précédent
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