Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help needed with a form that wont close
Message
De
20/03/1998 16:21:08
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00086125
Message ID:
00086127
Vues:
32
>I have created a form with a method, LoadObjects(), which loads the object references of all controls that are placed on it. Each control calls the form's loadObjects() method from it's Init() ie: THISFORM.LoadObjects(THIS)
>
>My problem is that when I do this and I try to release the form, it stays in memory. If I press the X button it becomes disabled but the form stays there. The only way I'm able to be rid of it is to issue a CLEAR ALL command.
>
>If I load the form with no controls or with controls that don't call the LoadObjects() method, the form will close.
>
>I am using VFP 3.0 on a pentium - 166 running Win 95
>
>Any help would be appreciated,
>Jake Schneider


When the Form is open, does it behave normally? Meaning, does it respect tabl order, data input, et al?? The reason I am asking is that it sounds like the form is going into la-la land from a recursive call...

LoadObjects fires Obj.Init which fires LoadObjects....
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform