﻿<?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?)  » UI Design Question</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Fri, 03 Apr 2026 12:57:16 GMT</lastBuildDate><ttl>20</ttl><item><title>UI Design Question</title><link>http://forum.strataframe.net/FindPost9166.aspx</link><description>Hi!&lt;/P&gt;&lt;P&gt;In our current&amp;nbsp;MDI Apps the most common UI is having a common Tool bar/strip on the MDI Container/Parent and many MDIChild forms with many Grids in them.&lt;/P&gt;&lt;P&gt;e.g. If the MDIChild 'CustomerForm'&amp;nbsp;is the active form and&amp;nbsp;has three&amp;nbsp;grids GridParent, GridChild1 and GridChild2 on it and if the GridParent is the active control and if the user clicks on the MDIParent's Tool bar/strip to add a new row then the new row is added on the active control (GridParent) but if the users then clicks on&amp;nbsp;GridChild2 and then clicks on the Navigate buttons on the tool bar/strip it should then act on GridChild2 and so on.&lt;/P&gt;&lt;P&gt;In short the tool bar/strip should find out the active form (MDIChild) and then within that form the ActiveControl (GridParent, or GridChild1 or GridChild2) and then act on that Active control.&lt;/P&gt;&lt;P&gt;How would I implement this type of UI in SF as it?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sarosh</description><pubDate>Tue, 29 May 2007 14:00:01 GMT</pubDate><dc:creator>Sarosh</dc:creator></item><item><title>RE: UI Design Question</title><link>http://forum.strataframe.net/FindPost9173.aspx</link><description>Sure :)</description><pubDate>Tue, 29 May 2007 14:00:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: UI Design Question</title><link>http://forum.strataframe.net/FindPost9172.aspx</link><description>Hi!&lt;/P&gt;&lt;P&gt;Thanks for the quick reply and the links!&lt;/P&gt;&lt;P&gt;It should serve as a good starting point for me.&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;Sarosh</description><pubDate>Tue, 29 May 2007 13:58:16 GMT</pubDate><dc:creator>Sarosh</dc:creator></item><item><title>RE: UI Design Question</title><link>http://forum.strataframe.net/FindPost9170.aspx</link><description>This really has nothing to do with StrataFrame but rather .NET in general.&amp;nbsp; You can do several different things.&amp;nbsp; In our medical software we have a MenuSystem class which is a shared (or static in C#) class that launches all of the forms and associates them with the application MDI (if it is in fact supposed to be added to the MDI).&amp;nbsp; So we know of all of forms and which form is active as well.&amp;nbsp; You can inherit the StrataFrame StandardForm and add additional functionality that handles the Activated event of the form and then take the appropriate action.&amp;nbsp; Below are some different links that we have posted on before that relate to setting up an MDI environment.&amp;nbsp; Just some different ideas:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/FindPost6085.aspx"&gt;http://forum.strataframe.net/FindPost6085.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://forum.strataframe.net/FindPost5199.aspx"&gt;http://forum.strataframe.net/FindPost5199.aspx&lt;/A&gt;&amp;nbsp;(more likely close to what you are looking for)</description><pubDate>Tue, 29 May 2007 13:47:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>