It is possible. Check the Lazarus Forum for a procedure i posted a while back that embeds a form inside a TWinControl by reparenting the form controls and keeping the form itself in memory so local (in form class) variables will still work.
However currently it is not possible to use LCL with a DLL. I tried it, in order to create a control from a DLL that will be used and it failed (crashes, etc). I don't know enough about LCL internals to say why though. ----- Original Message ----- From: "Marc Santhoff" <[EMAIL PROTECTED]> To: "lazarus mailing list" <[email protected]> Sent: Saturday, May 17, 2008 3:15 PM Subject: [Lazarus] embedding fomrs into forms > Hi, > > is it possible to use a TForm inside a TForm? > > Imagine a program consisting of a frame and some plug-ins. The plug-ins > should get designed using lazarus, each having it own form. When loaded > those forms would be embedded into the main applications form as a > frame, e.g. each on a tab of a notebook or similar. > > If it is not possible, what alternative ways of designing something like > that should I consider? > > TIA, > Marc > > > _______________________________________________ > Lazarus mailing list > [email protected] > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
