Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data environment has its own settings
Message
De
16/07/1998 18:09:54
 
 
À
16/07/1998 16:02:33
Bob Lucas
The WordWare Agency
Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00118159
Message ID:
00118386
Vues:
37
When would the form object do its thing? In its Init? If so, is there an issue in that the DS has already been created? The only problem I could see is that if you have already pulled data, the data might not be correct (like if ANSI=.F. for the DS, and the form object tries to set it to .T., then it might be too late).


>Another way is to have two environment type objects. One object is global and has the settings for all the VFP set commands. The other would be scoped to your form and part of your form base class. When this object instantiated it would gather the private settings (the subset that is affected by a private data session) from the global class and reissue the set statements. The form object uses the global object to determine values, or it can have the global values overriden.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform