Robert, I was hoping to not have to redo that much of the program, bit perhaps it is for the best. This project has grown in too many directions. This is a good time to rethink and redesign. Thanks for the TabSheet/Frames idea and the help.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Meek Sent: Saturday, June 23, 2007 05:57 AM To: 'Borland's Delphi Discussion List' Subject: RE: no parent window The next thing I would most likely try, is deleting all the unnecessary project files, leaving just the source code. Delete the page control and make sure no traces of it exist in the source, then try again. I've never used a page control myself. What I do is use a Tab Sheet and frames, which I create dynamically, add to the tab sheet in the onchangetab event, and manually parent it. Resource management is a lot better this way...I can have as many tabs as needed and never have to worry about memory! from Robert Meek dba "Tangentals Design" e-mail: [EMAIL PROTECTED] Freelance Windows Programming for XP and Vista Also proud to be a Moderator of the "Delphi-List" at elists.org "Reality cannot be explained...only enjoyed or endured as your current perspective allows!" -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Decisions Plus Sent: Friday, June 22, 2007 4:26 PM To: 'Borland's Delphi Discussion List' Subject: RE: no parent window Robert, The dfm looks good. I removed the last TabSheet that I placed in the PageControl thinking that it may be the cause of the error, but that did not help. Before removing that TabSheet I did create a new one with the identical components, I actually moved the components, so perhaps my method was not the best. When I close the project in Delphi I get an access violation in vcl70.bpl. When I close Delphi I get an EAccessViolation in rtl70.bpl. I copied the project to another computer and executed it in Delphi with the same results. Bill -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Meek Sent: Thursday, June 21, 2007 05:51 AM To: 'Borland's Delphi Discussion List' Subject: RE: no parent window Bill, Check your dfm file and make sure the page control is placed properly as wanted. from Robert Meek dba "Tangentals Design" e-mail: [EMAIL PROTECTED] Freelance Windows Programming for XP and Vista Also proud to be a Moderator of the "Delphi-List" at elists.org "Reality cannot be explained...only enjoyed or endured as your current perspective allows!" -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Decisions Plus Sent: Wednesday, June 20, 2007 4:06 PM To: [email protected] Subject: no parent window I am getting the error message of a PageControl without a parent. Application Error Exception EInvalidOperation in module TSOB_Cntcts01043.exe at 0006BE80. Control 'PageControl1' has no parent window. The PageControl is not created programmatically, so it should have been given a parent when I placed it on the TForm. Any help appreciated. Bill _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

