Rather not.
I have decided to do a manual resize but implementing a resize method in the
add-in's Interface. This then gets called by the container panel whenever
it resizes.
This works fine and is minimal code.
Virtual Chocolate fish to all who helped.
Cheers
>From: Myles Penlington <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
>Subject: RE: [DUG]: Loading forms from dynamic DLL's and enbedding them
>Date: Fri, 12 May 2000 15:54:39 +1200
>
>Could you use a package instead?? (Seems unlikely though from your
>circumstances)
>
> > -----Original Message-----
> > From: Peter G Jones [SMTP:[EMAIL PROTECTED]]
> > Sent: Saturday, 13 May 2000 03:49
> > To: Multiple recipients of list delphi
> > Subject: RE: [DUG]: Loading forms from dynamic DLL's and enbedding
> > them
> >
> >
> > Yes, that is bizaar. I have this setup working fine when the form is in
> > the
> > same app. It's only when I use a DLL that I get the problems.
> >
> >
> >
> > >From: Nahum Wild <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> > >Subject: RE: [DUG]: Loading forms from dynamic DLL's and enbedding
>them
> > >Date: Fri, 12 May 2000 15:01:33 +1200
> > >
> > >I think that I have experienced similiar behaviour when doing this, but
> > not
> > >from a DLL though. My problem was
> > >that the form to be imbeded in the panel was initially bigger than the
> > >panel
> > >it was to go on. For same bizzar reason the aligning of the form did
>not
> > >work properly and I got the visual behaviour that you discribe. I made
> > the
> > >form smaller than the panel at design time and that fixed it. The
> > version
> > >of Delphi that I was using at the time may also have been a factor.
> > >
> > >
> > >Nahum
> > >
> > >
> > >
> > > > -----Original Message-----
> > > > From: Peter G Jones [mailto:[EMAIL PROTECTED]]
> > > > Sent: Saturday, 13 May 2000 02:07
> > > > 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
> >
> > ________________________________________________________________________
> > 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
________________________________________________________________________
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