Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send parameters to a class?
Message
De
22/08/2007 18:14:19
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Send parameters to a class?
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01249732
Message ID:
01249732
Vues:
66
I have a class defined. How can I instantiate subclasses based on parameters sent? For example:
oxServer = CREATEOBJECT( "EMPS_Class","Server" )
oxClient = CREATEOBJECT( "EMPS_Class","Client" )
Or something like that...

UPDATE: Ok, I figured out that was wrong. I need to define a EMPS_Server_Class and EMPS_Client_Class based on the EMPS_Class, then add code to them of their changed functionality. Then I can create ocServer and oxClient based on the new subclasses. If that's totally off-base, please tell me...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform