Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms not releasing
Message
From
03/09/1998 10:08:14
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
To
01/09/1998 18:53:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00132131
Message ID:
00132761
Views:
14
>I have a modeless form with buttons that launch other forms (also modeless). Each child form has a custom property that links it to the parent form. When the parent is closed (by clicking the X) the Destroy code loops backwards through the forms collection array and checks each form for the property linking it to the parent. If found it executes _screen.forms[lnCount].Release().
>
Two issues we have found:
1. Using TYPE("MyObject") = "O" AND PEMSTATUS(MyObject, method, 5) on the same line--silly as it sounds.
2. Using ADDOBJECT(myObject, ClassName, THIS.Controls[2]) IOW, passing an enumerated object reference to the init of a new object.
Charlie
Previous
Reply
Map
View

Click here to load this message in the networking platform