General information
Category:
Menus & Menu designer
Title:
Not really with the designer, but a menu issue anyway
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only