You cannot Go to Solution 4 2 2 Participants LucEngelen(4 comments) MartinC(2 comments) 6 Comments Message Expert Comment by:LucEngelen2009-04-13 Comment Utility Permalink(# a24134223) Use this instead, and add the AddUser 12,576,228 members (60,197 online) Sign in Email Password Forgot your password? When answering a question please: Read the question carefully. Can Egyptian citizen visit Armenia on valid USA visa? Check This Out
Programing - Coding - Microcontroller - Experiment - Hobby - Anything Sidebar Categories android (3) begadang (6) business object (1) cerita (13) database (5) delphi (1) error solving (3) fedora (2) The other two do not with the following message "Cannot make a visible window modal."What is my problem and what is the solution? Why can only capture the black?2. Additional Information 1.
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 I use modal because that form needs to be a modal. Covered by US Patent. I will do so –CiucaS Jul 31 '14 at 8:39 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up
The creates the form as an invisible window, which lets you show it modally. In your TForm2.Button1Click method get rid of Form2.CloseModal and Form2.ShowModal calls, ie procedure TForm2.Button1Click(Sender: TObject); var button : TButton; begin button := TButton.Create(Self); button.Parent := Self; button.Caption := 'New Button'; button.Top In the Object Inspector, set the form's Visible property to False. 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,
Good luck! You can perfectly well create a new button from that method, and there is no need to interfere with the modal loop. My cat sat down on my laptop, now the right side of my keyboard types the wrong characters more hot questions question feed lang-pascal about us tour help blog chat data 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
masssnão tem nada! Can clients learn their time zone on a network configured using RA? By joining you are opting in to receive e-mail. I have a problem..
The time now is 01:11 AM. Add code patterned after the following to the event of your choice (replace AboutBox with the form's instance variable name and TAboutBox with the form's class name): procedure TForm1.AboutBoxClick(Sender: Tobject); begin 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". 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
Thanks.. Oh, and if it makes a difference, this in Delphi 7. -- Larry Maturo "Larry Maturo"
I have a main form with some buttons in it. Rather have a method in Form2 which creates the button and then other forms can call that function. Use ControlCount and Controls to walk over the controls inside a container. –David Heffernan Jul 31 '14 at 8:38 Thank you again!
Select the Options button 3. I broke on the ShowModal line in the dubgger, and checked the Visible attribute of the form I had just created., and Visible was set to false. with TFormX.Create(nil) do try ShowModal; finally Free; end; --- Regards /Filip I've lost my autosignature ... *sobbing* ... Creating forms dynamically is recommended for forms which may not be opened every time an application is instantiated (such as an About Box).
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed alterei algumas coisas.. Please click accept if this helps Simon SadMan Software http://www.simes.clara.co.uk simes View Public Profile Send a private message to simes Visit simes's homepage! navigate here First Name Please enter a first name Last Name Please enter a last name Email We will never share this with anyone.
Attempting then to Show or ShowModal it will give you this error. PoseFant View Public Profile Send a private message to PoseFant Visit PoseFant's homepage! Modify the report design after the wizard is done to make it look better. Best Rgds, Ari Adrianto From: Sierra Spartacus Subject: Re: Cannot Make Visible Window Modal Error NewsGroup: borland.public.delphi.students Date Posted: 11-Apr-2003 at 7:23:1 PST "Ari Adrianto"
Already a member? You may want to test this by just calling ; loAddUser := TfrmAddUser.Create(nil); loAddUser.ShowModal; 0 Message Author Comment by:MartinC2009-04-13 Comment Utility Permalink(# a24134449) And I wish I HAD included the my form always showing the error message : > > "Cannot Make Visible Window Modal". Posted on 2006-08-24 Delphi 5 1 solution 286 Views Last Modified: 2010-04-05 Good day, I have a project with a couple of forms, I made a change to my main form