Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form won't release because of object reference?
Message
 
À
30/04/1997 11:56:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00030164
Message ID:
00030287
Vues:
46
>>Thanks, this is a bit neater until we figure out the proper way to do this. Anyone? Has anyone had problems releasing forms when you have "this.objref = thisform.txtMyTextBox" in controls?
>
>Forgive me for backpedaling a little here, but why are you setting up your addressing in this way to begin with?

Because the form will not form will not release if any of its child objects has an external reference. So instead of using a true VFP object reference the child object is referenced be name and then dereferenced via a with/endwith statement. Hope this Clarifies

Peter
Peter Stephens
Visual Records, Inc.

Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform