Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-04 Thread Vincent Snijders
Guadagnini David schreef: In attach You can found the patch modified. Now is not lost focus on the window. Could you check it? If this is committed, may I suggest some name changes? IncludeForm - ContainsForm (note the s, so no imperative) Founded - Found Vincent

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-04 Thread Guadagnini David
In attach You can found the patch modified. Now is not lost focus on the window. Could you check it? Index: customform.inc === --- customform.inc (revision 13136) +++ customform.inc (working copy) @@ -873,6 +873,34 @@

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-04 Thread Guadagnini David
If this is committed, may I suggest some name changes? IncludeForm - ContainsForm (note the s, so no imperative) Founded - Found Ok! In attach Index: customform.inc === --- customform.inc (revision 13136) +++

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-04 Thread Mattias Gaertner
On Tue, 04 Dec 2007 09:38:41 +0100 Guadagnini David [EMAIL PROTECTED] wrote: In attach You can found the patch modified. Now is not lost focus on the window. Could you check it? Can you provide an example, so I can see what this patch fixes? Mattias

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-04 Thread Guadagnini David
Can you provide an example, so I can see what this patch fixes? Mattias With the old patch if I execute a search (into the editor), at the pressure of key ESC (to exit from the search form) the focus not return to edit window and I was forced to perform a click with the mouse to restore

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-04 Thread Mattias Gaertner
On Tue, 04 Dec 2007 11:41:03 +0100 Guadagnini David [EMAIL PROTECTED] wrote: Can you provide an example, so I can see what this patch fixes? With the old patch if I execute a search (into the editor), at the pressure of key ESC (to exit from the search form) the focus not return to edit

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-04 Thread Guadagnini David
Please check with current svn version 13143. Does the problem still exist? Mattias We understood evil. Not that this patch solves the problem of focus, but adds the ability to use Form on Form. Yesterday, I sent another patch, but the problem was that the windows lost the focus (for

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-04 Thread Mattias Gaertner
On Tue, 04 Dec 2007 14:12:07 +0100 Guadagnini David [EMAIL PROTECTED] wrote: Please check with current svn version 13143. Does the problem still exist? Mattias We understood evil. Not that this patch solves the problem of focus, but adds the ability to use Form on Form.

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-04 Thread Guadagnini David
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

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-04 Thread Mattias Gaertner
On Tue, 04 Dec 2007 14:44:03 +0100 Guadagnini David [EMAIL PROTECTED] wrote: 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

[lazarus] Patch for Forms in Forms or MDI

2007-12-03 Thread Guadagnini David
This patch fixes the problem that if I put a form in another it is locked. If You remember if I have two forms and write: Form2.Parent := Panel1; Form2.Align := alClient; I have form2 into the Panel1 (in Form1) but the form1 it's locked Index: customform.inc

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-03 Thread Mattias Gaertner
On Mon, 03 Dec 2007 09:38:45 +0100 Guadagnini David [EMAIL PROTECTED] wrote: This patch fixes the problem that if I put a form in another it is locked. If You remember if I have two forms and write: Form2.Parent := Panel1; Form2.Align := alClient; I have form2 into the Panel1 (in

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-03 Thread Mattias Gaertner
On Mon, 3 Dec 2007 19:52:24 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: On Mon, 03 Dec 2007 09:38:45 +0100 Guadagnini David [EMAIL PROTECTED] wrote: This patch fixes the problem that if I put a form in another it is locked. If You remember if I have two forms and write:

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-03 Thread Vincent Snijders
Mattias Gaertner schreef: On Mon, 03 Dec 2007 09:38:45 +0100 Guadagnini David [EMAIL PROTECTED] wrote: This patch fixes the problem that if I put a form in another it is locked. If You remember if I have two forms and write: Form2.Parent := Panel1; Form2.Align := alClient; I have form2 into

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-03 Thread Vincent Snijders
Mattias Gaertner schreef: On Mon, 03 Dec 2007 09:38:45 +0100 Guadagnini David [EMAIL PROTECTED] wrote: This patch fixes the problem that if I put a form in another it is locked. If You remember if I have two forms and write: Form2.Parent := Panel1; Form2.Align := alClient; I have form2 into

Re: [lazarus] Patch for Forms in Forms or MDI

2007-12-03 Thread Mattias Gaertner
On Mon, 03 Dec 2007 20:16:44 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: On Mon, 03 Dec 2007 09:38:45 +0100 Guadagnini David [EMAIL PROTECTED] wrote: This patch fixes the problem that if I put a form in another it is locked. If You remember if I have