Off hand all I can think of without more info is that you haven't
added it to your uses clause and/or search paths.  Personally if I'm not
calling a form directly from within the dpr I don't like using
Application.CreateForm(), but prefer fmCAD := TfmCad.Create(); setting an
owner or Self as the parameter.  Is this form in a DLL or stand-alone?
Also, you cannot call/start another application from within the first one by
creating it's main form.  You should either make sure the forms/modules
involved are independent of their own program or launch the actual
application itself from within yours!

from Robert Meek dba Tangentals Design  CCopyright 2006
Proud to be a moderator of "The Delphi Lists" at elists.org

"When I examine myself and my methods of thought, I come to the conclusion
that the gift of Fantasy has meant more to me then my talent for absorbing
positive knowledge!"
                                                    Albert Einstein


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Rich Cooper
Sent: Sunday, June 11, 2006 11:58 AM
To: Borland's Delphi Discussion List
Subject: Invalid property value

Hi All,

I have two independent programs - both very large.  Each one works
fine as a stand alone program.  

But I want to add the program "CAD", with main form "fmCAD" as
a subform to the program "GetAllHRSections".  But when I try to run
"application.createform(TfmCAD, fmCAD)", I get a "Invalid property value"
exception from "Forms".  

I'm using D7.  The two programs are in completely separate directories.
The call stack is hugely deep, and lots of DLLs are involved, so I have no
visibility into why the error is occuring at present.  

There's probably a fairly simple answer that one of you gurus knows
by heart.  Can anybody share the answer with me?

Thanks,
Rich
_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to