Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen Shows Verbiage
Message
 
 
À
15/03/2021 13:30:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01678986
Message ID:
01678998
Vues:
41
>Thanks for the input. I have all my sets in a custom class (oPro.SetEnv). >Thanks. So I am using private datasessions in my forms data environment. So does that mean I need to Set Talk to Off in all Load events of my forms?
>
>That, and a bunch of other SETs, goes into a routine (in a .prg, not in an already existing object!*) which you'd call from the .load() of each form class which has private DS. And then you have it everywhere and forget about it, until someone asks a question like this :).
>
>The reason for the * there is that any object which already exists would execute its code in the DS in which it was created, so the settings it puts would apply to that datasession, not to your form's.

Just add this setting into your custom class too.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform