Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best way to save user's environment
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00535841
Message ID:
00535867
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
In my form baseclass, I have the following in the Form RELEASE:
if This.lSaveFormSettings
   if vartype(goApp) = "O" and !isnull(goApp)
      goApp.SaveFormSettings(This)
   endif
endif
I also have a form property called lSaveFormSettings that is set to FALSE if I do not want to enable this feature for the current form. goApp is my global application object. This method actually does some minor stuff then calls another method in a PRG based class that does all the saving of the form environment. Since I pass an object reference to the form, I can get to any object and property on the form.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform