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

Click here to load this message in the networking platform