TechTricks
Technical answers from the trenches 
 
 
 
 

     
   
Error: "Cannot make a visible window modal"
 
   
 Posted: 4 March 2004
 
   
 
 Applies to: Delphi 5.0 and later
 
   
 
Audience: Beginner
 
       
   

Question: I'm trying to show a form modally; however, my application raises an exception: "Cannot make a visible window modal." How do I solve this?

Answer: Set the form's Visible design property to False. To do this:

  1. Open your project in Delphi

  2. Open the form that raises the exception.

  3. In the Object Inspector, set the form's Visible property to False.

  4. Save, compile, and run your application.

The creates the form as an invisible window, which lets you show it modally.

 

       

Top

Feedback About Paradox Delphi Assorted Web Stuff
 
 
Copyright © 2000-2004, techtricks.com; All Rights Reserved.
Acknowledgements, Disclaimers, Terms and Conditions.
Article last updated on 04 March 2004

 

Other Sites: Paradox, Delphi, Perl, Web Stuff, and More


 

[- End -]