Information générale
Catégorie:
The Mere Mortals Framework
Titre:
SessionEnvironment and do Main vs CreateObject
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement