Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send parameters to a class?
Message
From
22/08/2007 18:14:19
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Send parameters to a class?
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01249732
Message ID:
01249732
Views:
65
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...
Next
Reply
Map
View

Click here to load this message in the networking platform