﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » Child Dialog in MDI parent</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Sun, 13 Sep 2026 20:01:36 GMT</lastBuildDate><ttl>20</ttl><item><title>Child Dialog in MDI parent</title><link>http://forum.strataframe.net/FindPost8664.aspx</link><description>Hi.&lt;/P&gt;&lt;P&gt;Is it possible to make a modal form (showdialog) be part of an MDI parent?</description><pubDate>Thu, 03 May 2007 11:00:08 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Child Dialog in MDI parent</title><link>http://forum.strataframe.net/FindPost8672.aspx</link><description>LOL...Yeah, I am sure that he will take the request personally to the VS team.</description><pubDate>Thu, 03 May 2007 11:00:08 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Child Dialog in MDI parent</title><link>http://forum.strataframe.net/FindPost8671.aspx</link><description>I've just sent Bill Gates a Feature Request. :cool:</description><pubDate>Thu, 03 May 2007 10:46:21 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Child Dialog in MDI parent</title><link>http://forum.strataframe.net/FindPost8669.aspx</link><description>The "magic trick" in this case is to just not do that :D</description><pubDate>Thu, 03 May 2007 09:49:24 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Child Dialog in MDI parent</title><link>http://forum.strataframe.net/FindPost8668.aspx</link><description>Thanks Trent.&lt;/P&gt;&lt;P&gt;Yeah, I've faced that error. Was wondering if there was a magic, or something.</description><pubDate>Thu, 03 May 2007 09:25:54 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Child Dialog in MDI parent</title><link>http://forum.strataframe.net/FindPost8666.aspx</link><description>Actually, no.&amp;nbsp; When you call the ShowDialog method it requires that the modal form is a top-level form.&amp;nbsp; In fact, if you try to set the MdiParent property to the MDI parent then call the ShowDialog method on the child form, you will get the error message:&lt;/P&gt;&lt;P&gt;&lt;FONT color=#ff1111&gt;"Form that is not a top-level form cannot be displayed as a modal dialog box. Remove the form from any parent form before calling showDialog."&lt;/FONT&gt;</description><pubDate>Thu, 03 May 2007 08:40:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>