Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class does not see its parent
Message
 
 
To
16/02/2011 10:16:07
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01500327
Message ID:
01500401
Views:
49
I have another question.

Is there any principal difference between these two approaches (besides exposing the property of a child class to its parent):

Parent class

this.oChild = newobject('ChildClass','Classlib.vcx')
this.oChild.oParent = this

----------------
And

this.oChild= newobject...
this.oChild.Initialize(this)


Initialize method of the Child class

lparameters toParent

this.oParent = toParent
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform