Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can an object know of it's existence?
Message
From
02/12/2003 13:33:08
 
 
To
02/12/2003 13:18:11
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00855003
Message ID:
00855113
Views:
22
Hi Stefan,

My problem is that I need the variable that holds the object reference internally. The NAME property could have just as easily been a custom property.

In it's simplest form:
ox = CREATEOBJECT("myclass")
I need the "ox" in the INIT.

>In general, the .NAME property is meaningless unless an object is parented, in which case it equals the object's name within the parent. This makes sense since an object can have any number of names but at most one parent.
>
>So, if your objects needs a 'global name' then you need some sort of anchor that is itself a global object.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform