Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form not releasing on Close
Message
De
19/11/2003 10:36:27
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
18/11/2003 15:38:59
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00849922
Message ID:
00851432
Vues:
16
Amanda,
You're correct in your assertion that the framework controls the parent/child relationship once you set the cParentBizObj property.

Setting the oCalDay object reference was most likely causing the problem since you would create a circular reference as David illustrated in his response last response.

Glad you figured it out.
---J

>Success! Here was the problem:
>In the init of my parent bizobj (calinfo) on page one I had the following code:
>
>this.AddProperty("ocalday")
>this.ocalday = createobject("calday")
>this.registerchildbizobj(this.ocalday)
>
>Then I was setting my cparentibizobj in calday (the child) to calinfo. After commenting out the three lines of code above, the form started closing. What I am assuming is that MM controlled the parent/child relation automatically when I used the builder, and that the above code was making a second reference to that object.
>It hadn't even occured to me that that was it, because I assumed it had to be there.
>Thanks for all your help!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform