Guadagnini David schrieb:
I try to use form within form (how in Delphi) but I have a little problem... when the second form take the focus I can select nothing into the primary form.

The code is this:

procedure TForm1.Button2Click ( Sender : TObject ) ;
begin
 Form2        := TForm2.Create(Panel1);
 Form2.Parent := Panel1;
 Form2.Align  := alclient;
 Form2.BorderStyle := bsNone;
 Form2.Show;
end;


Where Form1 is the primary form that contain two button and a panel (Panel1), Form2 is the secondary form.

Note: Same situation if I use SetParent instead of Form2.Parent

Some Ideas??
Yes, this is an bug in the lcl i have an workaround for this posted at the bugreport.

Christian

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to