Hi John. You will most likely want to keep the form with a private datasession, I just meant to say that private datasessions contain their own "set" command settings.
Glad you found a solution.
>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
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