Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change to European date
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01663305
Message ID:
01663453
Vues:
55
J'aime (1)
>>I created a custom class that in its Init() event I do all the SET commands for the data environment. This class was then added to my form class which has a private data session. This gives me one place to manage all the SET commands for a private data session.
>
>First, thank you. Do I understand correctly that all of your forms are based on the form that has this custom method? For example, in my app almost all forms are based on a form myform. So I could then add a custom method to this form to call in the Init of the form. Is this the approach? Otherwise, I don't understand what you mean by "a custom class that is its Init() event".

I normally set all private DS settings in the Load event, Init may be too late.
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