Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't restore sysmenu when I exit a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00248473
Message ID:
00248477
Vues:
16
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform