Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing a parent's object
Message
De
27/08/2007 13:50:01
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01250681
Message ID:
01250714
Vues:
19
>>>So you're passing an object reference of oxHandler to oxServer? Where do you save this object reference? From oxServer you would be able to access oxHandler through this.oxHandlerReference (what is the name of the object property you're saving the oxHandler reference?)
>>
>>When I need to know the value of oxServer.oSock.State, I'm in the Acknowledgement procedure, under the oHandler object, which is in-turn, under the oxServer object.
>
>I don't see an easy way to access oSock from oHandler and also if oHandler is an independant object added as an object reference to oxServer it should not access oSock object.
>
>Something is wrong from the design point of view here.

Agreed. Any ideas?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform