Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ThisForm.Release leaves null object.
Message
 
 
À
21/04/1999 15:26:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00210705
Message ID:
00210839
Vues:
32
Bob,

thisform.Release() removes the form object from memory, the form doesn't have any knowledge of the memory varaiable that references it, but that memvar goes to .null. when the form object destructs. If you want to get rid of the memvar you can specifically RELEASE startup There isn't any overridding reason to actually get rid of the memvar.

>I have the line ThisForm.Release in the click method of an Exit button of a form called Startup. When I click on Exit, the form disappears all right, but the variable "startup" still exists with type "O" and a value of .NULL. Why isn't it nixed from memory all together and how can I nail it for good? TIA,
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform