Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Session Environment
Message
 
À
18/06/1998 18:56:04
Bob Lucas
The WordWare Agency
Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00109703
Message ID:
00110095
Vues:
31
>>Hi,
>>
>>I have a cBizObjMaintenanceForm and in Page 1 I have a BizObj and in page 2 I have many of them. Where is the correct place to change cSessionEnvironment.cDate for all the form ? And If I want to change this setting in all my application ?
>>
>>Regards,
>
>It is most likely that you want to have one common date setting for the entire app and not just at the form level. You can do this by modifying the aapp.init method with the following code:
>
>this.oEnvironment.osessionenvironment.cDate = "YMD"
>
>or whatever your appropriate setting. This value will then be used by the cSessionEnvironment object when it gets instantiated. You have pointed out a problem with codebook. The cSessionEnvironment object should be member of the form and not the bizobj class.
>
>As another aside, I think the global object should be a member of the capp class and not 'added' with addobject. This would allow setting the properties required for the global session object before it is created and in the designer.

Thanks for your input Bob
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform