Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Session Environment
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00109703
Message ID:
00109723
Vues:
28
Jose,

>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 ?>

Great question...the answer (for now) is to place it in the business object that is last to instantiate. As you know, each business object has an instance of the Session Environment object...which is a not-so-great design passed down from VFP3 Codebook. At any rate, each business object sets the environment as it instantiates. The last business object to instantiate wins, and its settings are the *final* settings.

I have fixed this in the next version of the Mere Mortals Framework (3.02) which will be released in a few weeks. I recommend that you wait till then to try this so you have a complete solution.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform