el stamatakos ha scritto:
Hi R,
Can you do this. I get an error Circular unit reference to unit1
To make it clearer: in Unit1 you should have:
unit Unit1;
{$mode ..blah blah}
interface
uses Classes,Sysutils,LResources,blah blah blah;
.
implementation
uses unit2;
..
end.
Hi All,
I have an MDI application in which I have two forms. Form1 (Main form) and
form2 (Child Form). In form 2 I have some TComboBox and TEdit Components. In
the main form I have some TEdit components. I would like Form1(MainForm)
TEditBox to have info from Form2(Child Form) TEditBox. I
You can use public variables (or a private variable with the
corresponding public methods for reading and writing to it, or even
better a property). For simplicity, let's say that we go with the
public variables.
Let TMainForm be the class name of the main form.
In the child form class, you could
. Thanks.
Best,
Lefti Date: Mon, 3 Dec 2007 21:24:29 +0100 From: [EMAIL PROTECTED] To:
lazarus@miraclec.com Subject: Re: [lazarus] Main Form retreiving data from
Child Form You can use public variables (or a private variable with the
corresponding public methods for reading and writing
retreiving data from Child Form
You can use public variables (or a private variable with the
corresponding public methods for reading and writing to it, or even
better a property). For simplicity, let's say that we go with the
public variables.
Let TMainForm be the class name of the main form
Hi R,
Can you do this. I get an error Circular unit reference to unit1
Thanks
Lefti Date: Mon, 3 Dec 2007 21:52:08 +0100 From: [EMAIL PROTECTED] To:
lazarus@miraclec.com Subject: Re: [lazarus] Main Form retreiving data from
Child Form yeah, add unit1 in the uses clause of unit2 and add
Hi R,
Can you do this. I get an error Circular unit reference to unit1
Thanks
Lefti Date: Mon, 3 Dec 2007 21:52:08 +0100 From: [EMAIL PROTECTED] To:
lazarus@miraclec.com Subject: Re: [lazarus] Main Form retreiving data from
Child Form yeah, add unit1 in the uses clause of unit2 and add
el stamatakos wrote:
Hi R,
Can you do this. I get an error "Circular unit reference to unit1"
Thanks
Lefti
Date: Mon, 3 Dec 2007 21:52:08 +0100
From: [EMAIL PROTECTED]
To: lazarus@miraclec.com
Subject: Re: [lazarus] Main Form retreiving data from Child Form
yeah,