Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object and datasessions (again)
Message
 
À
21/07/1999 16:29:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00244270
Message ID:
00245861
Vues:
20
>Unless I am missing something, it seems to search in the datsession in which it was created.

Alex,

See my other replies. Your observation is correct. It is this way because in OO you create objects that are independent of each other, that is a form that creates a data session will have no effect on another object that has been functioning in another data session.

One could make the argument that if you have a method in an object that needs to be in the current data session of the form, then that object should be IN that form. If it isn't than incapsulation has been violated as the both the fomr and the other object are interdependent on each other to function correctly without any owner relationship between them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform