Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form won't release because of object reference?
Message
 
À
30/04/1997 16:24:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00030164
Message ID:
00030430
Vues:
43
>>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.

Because I would be defining the same local variable in several different methods. Very ugly.

Michael.

Michael G. Emmons
memmons@nc.rr.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform