Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms Close / Release
Message
From
13/03/1997 10:44:55
 
 
To
12/03/1997 20:34:23
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00023986
Message ID:
00024095
Views:
43
Hi Arnon,

You hit the problem exactly. I was creating variable for long references
like this.

Public CntRelative (In the Load method of my form)

CntRelative = Thisform.PageFrame1.Page3 (In the Init event of the form)
which of course creates an object reference.

Release CntRelative (This is the one I forgot in the destroy event of the
form.)

Hope your tip and my reply will help anyone else.


Thanks for your help Arnon,
Michael Tuttle, Topeka,Ks Land of Ahhs... Midway, U.S.A.

>> Has anyone experienced a form that will not close.
>>
>> I have tried clicking on the [X] button in the upper right corner of the
>> form, selecting close from the control box, and Ctrl+F4. I even tried
>> adding a button to the form with Thisform.release(). Upon doing any of the
>> above my close button [X] and the close on the contorl menu are disabled
>> and I placed into a continual error loop as the destory method on my form
>> releases all properties.
>>
>
>myabe you have an object contained in this form that is not released or a reference to
>this form that still
>exists
>
>Arnon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform