Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing a parent's object
Message
De
27/08/2007 12:52:57
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Referencing a parent's object
Divers
Thread ID:
01250681
Message ID:
01250681
Vues:
70
This is simplified, but oSock and oHandler are on the same level under the oxServer class. In oHandler is the Acknoledgement procedure that needs to know the current status of the port, which is in oSock. How do I make that reference? This.Parent doesn't seem to work as the oHandler is created before oxServer.
oxServer
   oSock
      State
   oHandler
     Acknowledgement procedure (needs to know value of oSock.State)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform