Error Cannot Make A Visible Window Modal Delphi
Tips/Tricks Top Articles Beginner Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question View Unanswered Questions View All Questions... C# questions Linux questions ASP.NET questions SQL questions VB.NET questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Cannot Make A Visible Window Modal error using 'form.showmodal' method Rate this: Please Sign up or sign in to vote. See more: Delphi I am trying to make a multiforms application by having only the main form created on start up and creating each new additional form dynamically as needed by creating that form object, using it as a modal and once that form's purpose is complete, it is freed from memory after it is closed. Only my main form is 'auto-created', all addition
well. I added one more button to the form, compiled, and ran the application, and when I invoke the form I get this error message: "Cannot make a visible window modal". it is no more visible than it was before I added the button. :-) Any idea what happened? By the way, I did double check that the forms visibility was set to false in the object, inspector just to make doublely sure it was created invisiblely, and it was. -- Larry Maturo Larry Maturo Delphi Developer 2005-06-16 06:12:48 AM Re:Cannot make a visible window modal error One more bit of info. I broke on the ShowModal line http://www.codeproject.com/Questions/412005/Access-violation-error-when-for-a-multiforms-appli in the dubgger, and checked the Visible attribute of the form I had just created., and Visible was set to false. That means when it executes the ShowModal the form has got to be "invisible". This makes the error message even harder to figure out. Oh, and if it makes a difference, this in Delphi 7. -- Larry Maturo "Larry Maturo"
Join INTELLIGENT WORK FORUMSFOR COMPUTER PROFESSIONALS Log In Come Join Us! Are you aComputer / IT professional?Join Tek-Tips Forums! Talk With Other Members Be Notified Of http://www.tek-tips.com/viewthread.cfm?qid=1635801 ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! Join Us! *Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.Tek-Tips Posting Policies Jobs Jobs from Indeed What: Where: jobs by Link To error cannot This Forum! Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.Just copy and paste the BBCode HTML Markdown MediaWiki reStructuredText code below into your site. Embarcadero: Delphi Forum at Tek-Tips HomeForumsProgrammersDevelopment ToolsEmbarcadero: Delphi Forum Cannot make a visible window modal thread102-1635801 Forum Search FAQs Links MVPs Cannot make a visible window modal Cannot make a error cannot make visible window modal MLNorton (Programmer) (OP) 25 Jan 11 20:13 I have a program that calls one of three Secondary Forms. Form_XXXX.ShowModal,from the Main Form. The Secondary Forms each have a Close Button that calls Close. One of the Secondary Forms returns to the Main Form. The other two do not with the following message "Cannot make a visible window modal."What is my problem and what is the solution? I have this problem frequently in several programs. RE: Cannot make a visible window modal majlumbo (Programmer) 25 Jan 11 22:19 Not completely sure how you have your forms setup, but maybe this will solve the problem.I'm assuming you are not creating an MDI application...From your Project menu select options, go to the forms tab and make your three secondary forms available, but not auto-created.They need to be listed in the right list box, your main form on the left list box.add the units of each of the modal forms to the uses clause of your main form.To open the secondary forms (only one open at a time) COD