Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collection Object
Message
De
07/10/1999 12:11:09
 
 
À
07/10/1999 11:44:24
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00273466
Message ID:
00273764
Vues:
25
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform