﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » MDI parent and child</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 22:24:10 GMT</lastBuildDate><ttl>20</ttl><item><title>MDI parent and child</title><link>http://forum.strataframe.net/FindPost1116.aspx</link><description>I have 2 of your StandardForms. I set one to be an MDI parent and the other to be an MDI child. When I tried to set the parent property of the child it throws an exception:&lt;br&gt;
Top-level control cannot be added to a control.&lt;br&gt;
&lt;br&gt;
???</description><pubDate>Tue, 09 May 2006 08:19:52 GMT</pubDate><dc:creator>Daniel Essin</dc:creator></item><item><title>RE: MDI parent and child</title><link>http://forum.strataframe.net/FindPost1144.aspx</link><description>No problem :)</description><pubDate>Tue, 09 May 2006 08:19:52 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: MDI parent and child</title><link>http://forum.strataframe.net/FindPost1135.aspx</link><description>You know, I think I knew that at some point. Thanks for reminding me.</description><pubDate>Mon, 08 May 2006 16:10:27 GMT</pubDate><dc:creator>Daniel Essin</dc:creator></item><item><title>RE: MDI parent and child</title><link>http://forum.strataframe.net/FindPost1123.aspx</link><description>From the google searching I've been able to do on that error message, it appears you cannot add a form to another form's controls collection.&amp;nbsp; Whenever I try to reproduce this, I can only get the error message when trying to set the Parent property of the child form to the instance of the main form, which tries to add the child as a control onto the main form.&amp;nbsp; However, in an MDI environment you should use the MdiParent property, not the Parent property, which should produce the functionality you're looking for :)</description><pubDate>Mon, 08 May 2006 08:38:03 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>