Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form won't release because of object reference?
Message
 
To
30/04/1997 16:24:30
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00030164
Message ID:
00030430
Views:
45
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform