title: Switching forms in delphi
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/7839648/delphi-application-with-login-logout-how-to-implement">Delphi application with login / logout - how to implement?</a>  </p>
  </blockquote>
  
  
  
  <p>I am trying to switch between two forms in my delphi application, first, a login screen appears and then the main form of the application appears. </p>
  
  <p>I am using formx.hide and .show to switch between the forms.
  eg. 
   //after password checking
    form1.hide;
    form2.show;</p>
  
  <p>The second form appears, but cannot be interacted with, as if it is disabled.
  Why would it be doing this?</p>