Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't restore sysmenu when I exit a form
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00248473
Message ID:
00248531
Views:
12
Thanks. I am using a prg as the main program that calls the form. After that I "set sysmenu to default" but it doesn't work. I changed the data session to 2 (from 1 - private), but it mad no difference. Any other suggestions?

>You are probably using a private datasession and (I would guess) the change is not sticking. I would create a PRG that is set as the main module in the project and call the form from there. After you exit the program the main prg can issue a
>
>SET SYSMENU TO DEFAULT
>
>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform