What form on form do you mean? MDI?
Can you provide an example?
Mattias
Yes.
I create two form (Form1 and Form2)
Into the Form1 create a TPanel and a button with the follow event:
begin
Form2 := TForm2.Create(Self);
Form2.Parent := Panel1;
Form2.Align := alClient;
end;
Normally if You write this you have form2 into form1 (how the MDI forms)
but if the form2 have the focus is impossible return into form1 without
close form2.
This patch solve this problem and can be a start point for MDI forms.
begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;R&D
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard