With Delphi 5 (I beleive earlier versions may behave differently) the only
way I got this to work was to use a dynamically loaded runtime package.
With a standard DLL, the form would not get tab key presses and menu's
wouldn't work either. With a runtime package everything works just fine.
----- Original Message -----
From: "Matthew Comb" <[EMAIL PROTECTED]>
To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]>
Sent: Monday, November 06, 2000 4:56 PM
Subject: [DUG]: question.
> Hi people,
>
> another stupid question from me coming up.
>
> In the past when I have dealt with loading forms from a dll I have always
> done the standard showmodal and release method.
>
> Now I need a form that will essentially embed itself in the calling form
so
> that buttons on the original form can still be pressed while edit boxes on
> the second (called from dll) form are still receiving the focus.
>
> Can anyone offer me some advice.
>
> The desired effect can be achieved within an application by just going
> form2.parent:=form1; and then call form2.setfocus. You can still click the
> buttons on form1 but form2 still receives input.
>
> Any help would be appreciated.
>
> Cheers,
>
> Matt.
>
> --------------------------------------------------------------------------
-
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
> To UnSub, send email to: [EMAIL PROTECTED]
> with body of "unsubscribe delphi"
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"