I don't know much about getting DLL's from forms but I think I may be able
to help.

I don't think that a form automatically sizes to its parent area. You would
have to get the panel to tell the form what size it should be when the form
gets placed on the panel and when the panel changes size.

Hope this helps.

Stacey

> -----Original Message-----
> From: Peter G Jones [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, 13 May 2000 2:07 a.m.
> To: Multiple recipients of list delphi
> Subject: [DUG]: Loading forms from dynamic DLL's and enbedding them
> 
> 
> There's a virtual chocolate fish available to the person who 
> can solve this 
> one.
> 
> I have a DLL that includes a form that I want to display 
> embedded into a 
> shell application.  The DLL is dynamically loaded by the 
> shell which then 
> calls a startup procedure that is exported by the DLL.  To 
> the startup 
> procedure it passes a TPanel.
> 
> When the embedded form draws itself inside the panel, it 
> get's confused 
> about it's size and the bottom and right of the form is lost 
> outside of the 
> containing panel.
> 
> I have created a small demo app and dll that demonstrates 
> this which I can 
> provide on request.
> 
> Has anyone else done this sort of thing succesfully cause 
> this is driving me 
> nuts and I need it fixed, like, last month.
> 
> 
> ______________________________________________________________
> __________
> Get Your Private, Free E-mail from MSN Hotmail at 
http://www.hotmail.com

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to