Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form won't release because of object reference?
Message
De
30/04/1997 16:24:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00030164
Message ID:
00030362
Vues:
55
>It's just a nice way to reference the child and parent. From either I can just say:
>
>this.objref.Zorder(1)
>this.objref.Visible = .F.
>
>Instead of
>
>this.parent.&lcName..Zorder(1)
>this.parent.&lcName..Visible = .F.

I just gave a rather longwinded reply in another post on this, but I see what you're doing now.

In the method that you're doing this, why not use a LOCAL variable instead of a property? LOCAL variables destroy themselves automatically at the end of the routine, which would solve your problem. I do that technique all the time, actually.
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform