﻿<?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?)  » Confused about Child Form Dialog Control</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 22 Sep 2026 00:46:05 GMT</lastBuildDate><ttl>20</ttl><item><title>Confused about Child Form Dialog Control</title><link>http://forum.strataframe.net/FindPost26714.aspx</link><description>I am a newbie so please forgive my ignorance.&amp;nbsp; I have a number of questions as I am trying to get my head around the concept of a child form dialog control.&lt;/P&gt;&lt;P&gt;1 - If I create a basic maintenance form for a specific business object that I plan to launch&amp;nbsp;from a menu to add / edit / or delete records, can that same form also be used as the child form that will be called from a parent form via a child form dialog control on the parent form?&lt;/P&gt;&lt;P&gt;2 - Assuming that the answer to question 1 above is "Yes", if I want to call several different maintenance forms from a single parent form will I need to add multiple child form dialog controls to the parent form?&lt;/P&gt;&lt;P&gt;3 - Can a child form that was called&amp;nbsp;via a child form dialog control on a parent form call a browse dialog?&lt;/P&gt;&lt;P&gt;Sam Tenney</description><pubDate>Wed, 31 Mar 2010 17:19:50 GMT</pubDate><dc:creator>Sam Tenney</dc:creator></item><item><title>RE: Confused about Child Form Dialog Control</title><link>http://forum.strataframe.net/FindPost26718.aspx</link><description>[quote][b]Sam Tenney (03/31/2010)[/b][hr]Thanks Edhy for your reply.&lt;br&gt;
In order to be able to call multiple child form dialogs from a single parent form will I need to drop multiple child form dialog controls on the parent form?[/quote]&lt;br&gt;
&lt;br&gt;
You are welcome Sam, and yes, you can drop as many as you need and also based on the logic you decide to use, you can make backups of the BO data at any stage you want in case you want to synch all BO changes related to the parent and either save then all, or save them each one at a time.  You have full control on what you may want to accomplish here.&lt;br&gt;</description><pubDate>Wed, 31 Mar 2010 17:19:50 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Confused about Child Form Dialog Control</title><link>http://forum.strataframe.net/FindPost26717.aspx</link><description>Thanks Edhy for your reply.&amp;nbsp; But I want to be able to call several different child form dialogs from a single parent form.&amp;nbsp; This is different than calling&amp;nbsp;a single&amp;nbsp;child form dialog and allowing it to share multiple business objects with the parent form.&amp;nbsp; In order to be able to call multiple child form dialogs from a single parent form will I need to drop multiple child form dialog controls on the parent form?&lt;/P&gt;&lt;P&gt;Sam</description><pubDate>Wed, 31 Mar 2010 13:10:39 GMT</pubDate><dc:creator>Sam Tenney</dc:creator></item><item><title>RE: Confused about Child Form Dialog Control</title><link>http://forum.strataframe.net/FindPost26715.aspx</link><description>Hi Sam,&lt;br&gt;
&lt;br&gt;
The short answer to your questions is yes.&lt;br&gt;
&lt;br&gt;
Now design logic should play a factor in how you create and present your forms to your users.  The ChildformDialog is basically a control that will allow you to show a modal form ex: myform.ShowDialog() it does have the advantage of allow you to translate any business object in the parent form to the child form in their current state and record positions, but as modal form it is expected to return a dialog value "OK, Cancel, etc" and this value be evaluated either in the child or parent form to do whatever your logic is.&lt;br&gt;
&lt;br&gt;
With the above in mind, then I believe it would be kind of difficult to create a Maintenance Form (with the toolbar) and also used it as a child form, even though with creativity it can be done, you could have several New() constructors to pass parameters and either hide/show the toolbar, etc.&lt;br&gt;
&lt;br&gt;
Also you can create Browse Dialog classes and call them from anywhere not just the maintenance toolbar.&lt;br&gt;
&lt;br&gt;
I suggest you download the StrataFlix sample application from your "My Account" zone and study it, since it does make uses of these techniques.</description><pubDate>Wed, 31 Mar 2010 12:44:44 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>