I remember some confusion I got into when I first started using
Frames in regards to the way Delphi renames those that are created
automatically.  For example, if I would create a TFrame named 'MyNewFr1'
with a unit name of 'MyNewFr1u.pas', Delphi would add it to its parent
Form's unit as 'MyNewFr1u1.pas'!  I hated that!  But now the TFrame is one
of most widely used components.  I always create, parent, and free them
manually.  I like them especially as a replacement for the pagecontrol.
Instead I use a Tabcontrol and instantiate them as required by the current
tabIndex.
        Sorry I can't be more helpful.  Perhaps if you posted some code?

from Robert Meek dba Tangentals Design  CCopyright 2006

"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 Horváth Márton
Sent: Thursday, February 09, 2006 12:27 PM
To: [email protected]
Subject: TFrame in package (fwd)

>>The Frame requires a Parent.  Did you set that?  

Yes, I did. The Form1 is the parent of Frame...

Any other Idea?

m.

___________________________________________________________________________
Játssz és nyerj könnyedén fényképezőgépet, babzsákfotelt vagy egyhetes, 
kétszemélyes egzotikus álomutazást!
http://www.budavartours.hu/jatek/?from=frm_kimeno


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

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

Reply via email to