Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a NewObject() determine it's Container?
Message
From
06/06/2003 19:07:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Can a NewObject() determine it's Container?
Miscellaneous
Thread ID:
00797529
Message ID:
00797529
Views:
36
When I use NewObject, can the object created determine what container it was created in?
MyObj.method()
  this.addproperty('oNewObject')
  this.oNewObject('myClass')
Endproc

define class myClass ....
  procedure find_container
    this.oContainer = ??????   && finds MyObj
  endproc
TIA
Bill Morris
Next
Reply
Map
View

Click here to load this message in the networking platform