Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SessionEnvironment and do Main vs CreateObject
Message
De
11/08/2004 18:42:26
June Kendrick
Kendrick Associates, Inc.
New York, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
SessionEnvironment and do Main vs CreateObject
Divers
Thread ID:
00932532
Message ID:
00932532
Vues:
45
Is there a reason that the session environment that a form picks up when it is run with "Do Setx; lform = Createobject('formname'); lform.show" is different from that which it gets when run from within "DO MAIN"?

I guess what I am asking is whether there is a reason that the oSessionEnvironment in cBaseForm is based on cenvironment instead of cglobalenvironment.

It means that forms behave differently if they are run from do main vs standalone - mostly due to the set deleted being on in the one instance, and off in the other.

Thanks,

June
Répondre
Fil
Voir

Click here to load this message in the networking platform