Home > Cannot Make > Cannot Make Visible Window Modal Delphi Error

Cannot Make Visible Window Modal Delphi Error

I'm glad about that, but next time, please try to tell me so without quoting 30 lines. -- Rudy Velthuis [TeamB] velthuis.homepage.t-online.de "I still live." - Daniel Webster, dying words alterei algumas coisas.. Registration on or use of this site constitutes acceptance of our Privacy Policy. hth Bernd Lajos Juhasz Posts: 508 Registered: 3/14/14 Re: Cannot make a visible Window Modal Reply Posted: Sep 12, 2016 7:22 AM in response to: jenny foster Check This Out

Set the form visible to false and it works, no more error message. If the form's visible property is True in the IDE, set it to False (in the IDE). Linux questions C# questions ASP.NET questions fabric questions SQL questions discussionsforums All Message Boards... unit Unit2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm2 = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; procedure FormCreate(Sender: TObject); procedure Button1Click(Sender: TObject); private

Additional Information 1. Are you aComputer / IT professional?Join Tek-Tips Forums! When a form is created automatically by Delphi (such as all forms are by default and an application's main form always is), Delphi changes the form's Visible property from False to Please turn JavaScript on and reload the page.

Quick Fix 1. Red Flag This Post Please let us know here why this post is inappropriate. Thank you Remy - I had seen a similar post from you while searching for clues which is why I put the enabled := true and the visible := false lines Thank's to:  Lance Leonard Source:  http://www.techtricks.com/delphi/makevisible.php Share this:Share on Facebook (Opens in new window)Click to email (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on

Find all posts by frankarabano #2 10-06-2002, 02:03 PM simes Senior Member Join Date: Jan 2002 Posts: 2,327 RE: Exception: 'Cannot make a visible window modal' Hi Frank, What is the temperature of the brakes after a typical landing? P. Thanx Tomy.

Poste seus códigos corretamente! 21-05-2016 Prezados membros do Fórum do Clube do Hardware, O Fórum oferece um recurso chamado CODE, onde o ícone no painel do editor é  <>     O Call to ShowModal from the constructor The form's OnCreate event is fired during construction. ANN: DUnit show in IDE5. Find all posts by wenling2000 #4 10-06-2002, 10:45 PM DarkHorse Senior Member Join Date: Dec 2000 Posts: 1,636 RE: Exception: 'Cannot make a visible window modal' Hi, Try

Select View | Project Manager 2. Why you need this check? This process is automatic. Send to Email Address Your Name Your Email Address Cancel Post was not sent - check your email addresses!

or Else ? > > > Best Rgds, > Ari Adrianto > > From: Ari Adrianto Subject: Re: Cannot Make Visible Window Modal Error NewsGroup: borland.public.delphi.students Date Posted: 12-Apr-2003 at his comment is here How to react? 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". my form always showing the error message : > > "Cannot Make Visible Window Modal".

The app is running at around 25 sites. Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are Posts: 6,808 Registered: 12/23/01 Re: Cannot make a visible Window Modal Reply Posted: Sep 7, 2016 9:43 AM in response to: Roy Lambert Roy wrote: However, from http://scriptkeeper.net/cannot-make/cannot-make-visible-form-modal.html Helpful answers available: 0.

try if not assigned(frmSMS) then frmSMS:=TfrmSMS.Create(self); frmSMS.caption:='SMS to '+dmData.cdsAcctMasterSURNAME.value; frmSMS.edCell.text := frmSMS.fixnumber(s); // just a function that adjusts the text in a textbox on the form loadforminfo(frmSMS); frmSMS.Enabled:=true; // these 2 Permalink Posted 28-Jun-12 8:19am Winston_D355 Rate this: Please Sign up or sign in to vote. Do not call a form's ShowModal method unless you are creating it dynamically. 2.

Oliveira - agora 1 Superaquecimento Refrigeração e superaquecimento dacvid37 - 1 minuto 12 Fonte retificada com capacitor em paralelo com diodo?

I appreciate your time and effort. Browse other questions tagged forms delphi runtime or ask your own question. That's why global forms (objects) are evil you can never be sure in which state are they. Are you absolutely certain that you create each form, and that the form isn't in Delphi's auto-create list?

Already a member? Find all posts by PoseFant « Previous Thread | Next Thread » Thread Tools Show Printable Version Email this Page Display Modes Linear Mode Switch to Hybrid Mode Switch to Threaded Microsoft Office Vinicius Rodriguez - 1 hora 0 Google e bing com vírus. navigate here Delphi Pages - Archive - Top - Contact Us Powered by vBulletin Version 3.8.8Copyright ©2000 - 2016, vBulletin Solutions, Inc.

Be aware that this does not necessarily mean, that the Form indeed is visible on the screeen, it is sufficient, that the Form is in a state to be visble when Each of these buttons fires the creation of a form. Another possibility can be that at one or more places you have showned the form using the Show instead of ShowModal. Insults are not welcome.

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. At one site only and not on every occurrence of the showmodal command for the form (between 10 and 2% of the times ) the program crashes with 'Cannot make a For instance, if you know the parent of the buttons is the form, use ControlCount and Controls[] on the form to find its children. Not the answer you're looking for?