Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forms not releasing
Message
De
03/09/1998 10:08:14
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
 
À
01/09/1998 18:53:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00132131
Message ID:
00132761
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform