title: Switch GUI application behavior between SDI and MDI
body: <p>I currently have an SDI application that is build with Delphi 7, I want the final user to choose the type of interface between SDI and MDI at runtime. my question is how can I change the behavior of the application between SDI and MDI at runtime?</p>
  
  <p>Currently I know a couple of applications build with delphi that allow this: <a href="http://sqlmanager.net/en/products/mssql/manager" rel="nofollow noreferrer">EMS SQL Manager</a> and <a href="http://www.toadsoft.com/" rel="nofollow noreferrer">TOAD</a>.</p>
  
  <p><a href="https://i.stack.imgur.com/3bH8w.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3bH8w.png" alt="alt text"></a>
  </p>
  
  <p>thanks in advance.</p>