﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / General .NET Discussion / .NET Forums  / Locking MDI child question... / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Fri, 21 Nov 2008 14:34:50 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Locking MDI child question...</title><link>http://forum.strataframe.net/Topic2550-14-1.aspx</link><description>You would have to set some sort of flag to tell the form that it needs to be "modal" and then test that flag within the Deactivate() event of the form and just call Me.Activate() if the flag is set.</description><pubDate>Wed, 30 Aug 2006 18:42:02 GMT</pubDate><dc:creator>Ben Chase</dc:creator></item><item><title>Locking MDI child question...</title><link>http://forum.strataframe.net/Topic2550-14-1.aspx</link><description>Lets say I have two mdi child forms open (Form1 and Form2) in an mdi parent and both of the child forms were opened using Form.Show.&lt;br&gt;&lt;br&gt;Lets say I click a button on Form1 and I want the focus to stay locked on Form1 until I click another button and unlock it? Is this possible.&lt;br&gt;&lt;br&gt;The reason I ask is if i want to edit the data on one form and  i dont want the user to be able to switch between forms in the middle of an edit.&lt;br&gt;&lt;br&gt;Thanks</description><pubDate>Wed, 30 Aug 2006 09:11:33 GMT</pubDate><dc:creator>StarkMike</dc:creator></item></channel></rss>