Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form not releasing on Close
Message
From
19/11/2003 10:36:27
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
18/11/2003 15:38:59
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00849922
Message ID:
00851432
Views:
15
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!
Previous
Reply
Map
View

Click here to load this message in the networking platform