Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't restore sysmenu when I exit a form
Message
From
30/07/1999 21:29:04
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00248473
Message ID:
00248475
Views:
16
>I have a single form with 5 pages where i remove the sysmenu because I am not using menus (set sysmenu to) in the Load method. In the form Destroy event (or the unload event) I "set sysmenu to default". After Destroy fires the system menu is restored, but immediatly after the System menu changes to one with a single entry (Format). What event fires to make this unwanted change?. In the command window I can set sysmenu to default, and get it back but I need to know what is happening. Any suggestions?

How about if you try PUSH MENU _MSYSMENU in the Load Event, and POP MENU _MSYSMENU in the Destroy Event?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform