Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MDI Form problem

Status
Not open for further replies.

JJ100all4u

Programmer
Dec 6, 2004
2
GB
I am using Delphi Version 4. I wanted to experiment with MDI forms. I changed the main form of my application to an MDI Form and a couple of other forms to MDI Child forms. I decided to put the main form and the other forms back to fsNormal as I realised I didn't need MDI forms. Now when I run the app, it still creates the two other forms, and when I try to show them (Showmodal) from the main form, I get a "cannot make a visible window modal. These forms are still acting as if they were MDI forms even though I have changed the properties back to fsNormal. Any ideas?
 
go to your progect options and set them to not auto create if you want to create them yourself or set thier visible property to false if you dont.

Aaron Taylor
John Mutch Electronics
 
Hi thanks for your help! You were right - changing them to an MDI form set their properties to Visible - the last thing I thought of looking for! I can stop pulling my hair ou tnow!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top