Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form class won't release
Message
From
01/02/2002 11:01:30
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
31/01/2002 22:21:01
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00613806
Message ID:
00614055
Views:
22
I tried release but it left the data session there even though the form was gone. I did find the problem. Seemed to be a problem in my framework that I have been using for about 4 years now.

Thanks for your help.

>James,
>
>If I understand correctly, the code shown is IT. That code gives the symptom.
>
>It give the same problem when run immediately after starting VFP?
>
>Submit it as a bug. Then pray a lot.
>
>While praying, might a RELEASE work instead?
>
>good luck
>Jim Nelson
>
>
>>Hi All
>>
>>I am using vfp7 sp1. I have built a form class that will not release. Here is the code.
>>o=NEWOBJECT("afindregion","aforms")
>>o.show(1)
>>o=.null.
>>
>>I have done this many times and releasing o should release the form. In the when I had this problem I found an object stored as a property that would not let it release. This time I can’t seem to find any reason for it. Is there something wrong with what I am doing? If not, how do you find this type of problem?
>>
>>Thanks.
>>
>>PS I have several places that I am using this.newobject(... to create instantiate an object. Will creating an object this way release it self?
Previous
Reply
Map
View

Click here to load this message in the networking platform