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

Cannot Make Visible Window Modal Delphi Error

Adverb for "syntax" How are the functions used in cryptographic hash functions chosen? Another possibility can be that at one or more places you have showned the form using the Show instead of ShowModal. Oliveira - agora 1 Notebook acer Notebooks TSPereiraRJ - 10 minutos 3 Pc da pichau fazendo barulho no primeiro dia de uso Recomendação de PCs para jogos e placas de vídeo Permalink Posted 28-Jun-12 5:58am Richard MacCutchan577.9K Comments Winston_D 28-Jun-12 11:20am To clarify my situation. Check This Out

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 DarkHorse View Public Profile Send a private message to DarkHorse Visit DarkHorse's homepage! I have a main form with some buttons in it. I use modal because that form needs to be a modal.

it is no more visible than it was before I added the button. :-) Any idea what happened? Solution 3 Accept Solution Reject Solution Someone showed me that there was just one small key that I didn't do. 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 How to disable the high priority publish option in SDL Tridion Count trailing truths I just started my first real job, and have been asked to organize the office party.

Join them; it only takes a minute: Sign up Delphi rebuild modal form at runtime up vote 0 down vote favorite For example I created a small project as for you Why can only capture the black?2. Change the visible property back to False in the IDE to prevent this. -- Clay Shannon, author of "the Wacky Misadventures of Warble McGorkle" (download it at http://www.winsite.com/bin/Info?12500000036639) From: Andrew Muir Join UsClose MEGA Search 20.3 Million Sign Up From: Ari Adrianto Subject: Cannot Make Visible Window Modal Error NewsGroup: borland.public.delphi.students Date Posted: 11-Apr-2003 at 15:12:15 PST Hi All, I'm using

Anyway, then I show, and destroy, the just created form with code like this: try frmSomething.ShowModal; finally frmSomething.Free; end; Now, this code compiles fine, but when running and trying to create Optional Password I have read and agree to the Terms of Service and Privacy Policy Please subscribe me to the CodeProject newsletters Submit your solution! Password Lost Password? http://www.delphigroups.info/2/10/733929.html e funcionava!!!o que seria???

Fastcode CompareMem B&V 1.24. If the form's visible property is True in the IDE, set it to False (in the IDE). Compartilhar este post Link para o post Compartilhar em outros sites LgN_Warrior    0 Autor do tópico Membros Plenos 0 31 posts @Mencionar Membro desde 24-12-2005 #3   Postado 24 de Save, compile, and run your application.

alguem tem alguma solução sem ter q refazer o form de novo??? http://forum.teamspeak.com/threads/4894-Cannot-make-a-visible-window-modal Move it to the Available Forms list box by clicking the right-arrow 5. I much appreciate the help. -- Larry Maturo "Rudy Velthuis [TeamB]" writes Quote At 00:01:28, 16.06.2005, Larry Maturo writes: >I was working with a new form I created, and all was The only time you should (and must) call either a form's Show or ShowModal method is when creating the form dynamically.

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 This Forum! his comment is here So it is temporary. 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 What's the best way to build URLs for dynamic content collections?

Regards Jenny procedure TfrmMain.DBCellDblClick(Sender: TObject); var s: string; begin if sender as tdbtext = dbCELL then s := dmData.cdsAcctMasterPHONEC.value else if sender as tdbtext = dbtCELLPAT then s := dmData.cdsAcctMasterPHONEPAT.value; if By joining you are opting in to receive e-mail. Delphi Pages - Archive - Top - Contact Us Powered by vBulletin Version 3.8.8Copyright ©2000 - 2016, vBulletin Solutions, Inc. this contact form Compartilhar este post Link para o post Compartilhar em outros sites terra.jr    0 Membros Juniores 0 16 posts Paraiso-SP @Mencionar Membro desde 31-03-2005 #4   Postado 3 de fevereiro de

Here is sample code. e chamei de novo.. Larry Maturo Delphi Developer 2005-06-16 06:33:58 AM Re:Cannot make a visible window modal error Hi Rudy, Thank you.

my form always showing the error message : "Cannot Make Visible Window Modal".

begin CancelDrag; if Visible or not Enabled or (fsModal in FFormState) or (FormStyle = fsMDIChild) then raise EInvalidOperation.Create(SCannotShowModal); // <-- here ... Or remove the global variable altogether. 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 It's no more visible than it was before I added the button. :-) Any idea what happened?

Permalink Posted 28-Jun-12 2:13am E.F. Only my main form is 'auto-created', all additional forms are set as 'available' in the the project options. The Secondary Forms each have a Close Button that calls Close. navigate here Winston_D 28-Jun-12 13:12pm thanks for the help Rate this: Please Sign up or sign in to vote.

Then the user doesn't have to close it in order to continue her/his work. Or override the constructor of the Form2 so that it takes an extra parameter which indicates should the special button be visible or not. Nor is any one of the other 20 live installations reporting the error. 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

Compartilhar este post Link para o post Compartilhar em outros sites gandalfnho    247 Moderadores 247 20.888 posts Novo Hamburgo - RS @Mencionar Membro desde 26-01-2002 #5   Postado 3 de 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 Roy, that's why I changed in the original code it was "dmData.cdsAcctMasterPHONEC.value". Then, I put it back (using project options) to auto-create form, and put it back again into available form.

That's why global forms (objects) are evil you can never be sure in which state are they. Join Us! *Tek-Tips's functionality depends on members receiving e-mail. Talk With Other Members Be Notified Of ResponsesTo Your Posts Keyword Search One-Click Access To YourFavorite Forums Automated SignaturesOn Your Posts Best Of All, It's Free! I've try to search whats wrong, but I can't find it.

Oliveira - agora 1 Superaquecimento Refrigeração e superaquecimento dacvid37 - 1 minuto 12 Fonte retificada com capacitor em paralelo com diodo? My question is now, how can I achieve this result I get from clicking on the button from Form1 with clicking on the button from Form2. I've got a ModalForm that has some buttons on it created at runtime, but when the user presses a " special button" I want all the buttons from the form to Ela nao interfere no quesito de estar ja aberto o forms ou nao, mesmo estando invisivel voce pode trabalhar com ele.então acredito que nao seja isso o problema do seu post!A