Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collection Object
Message
From
07/10/1999 12:11:09
 
 
To
07/10/1999 11:44:24
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00273466
Message ID:
00273764
Views:
24
>Doug-
>
>Right, the init() is a good place to pass an object to a form. Don't forget you can pass forms to methods/functions, too. :-)
>
>Search the files and messages sections here for "outstanding object reference." You should find a wealth of information of when and how they can be left. It's not really something to be anxious about...it is just something to be aware of. VFP does ALOT of housecleaning for us, but there's some extra work that *might* be needed. But, you'll know, because the effect of an outstanding object reference is that when you close a form (release it), you'll see the form's "X" is disabled, but the form doesn't actually go away.
>
>>If you do ADDOBJECT to that passed in object in order to only pass that one object off to the next object am I understanding that you suggest to manually removeobject that object before destroying that form?
>
>No, I'm being quite literal when I say you have to assign .NULL. to the object reference.

Nancy,

Thanks a bunch!!
Best,


DD

A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform