Autor Beitrag
dude
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48



BeitragVerfasst: Fr 14.03.03 17:14 
Ähm, wie kann ich das überhaupt machen, dass ich von beiden Formularen beide ansprechen kann
also von Formular1: form2.label1.caption und von formular2: form1.label1.caption .

Weil wenn man bei uses Unit2 einträgt, dann kann man nicht überkreuzt das auch beim anderen hinschreiben!!
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: Fr 14.03.03 17:18 
dude hat folgendes geschrieben:
Ähm, wie kann ich das überhaupt machen, dass ich von beiden Formularen beide ansprechen kann
also von Formular1: form2.label1.caption und von formular2: form1.label1.caption .

Weil wenn man bei uses Unit2 einträgt, dann kann man nicht überkreuzt das auch beim anderen hinschreiben!!
Doch, dass geht, wenn du die Unit in einem Usesbereich unterhalb von implementation einbaust!

GRuß wulfskin!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
dude Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48



BeitragVerfasst: So 16.03.03 17:21 
kannst du da mal bitte ein Beispiel machen ?
Ich kann mir darunter nichts vorstellen!

MFG
wulfskin
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1349
Erhaltene Danke: 1

Win XP
D5 Pers (SSL), D2005 Pro, C, C#
BeitragVerfasst: So 16.03.03 17:54 
dude hat folgendes geschrieben:
kannst du da mal bitte ein Beispiel machen ?
Ich kann mir darunter nichts vorstellen!

MFG
Jo kann ich:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
var
  MainForm: TMainForm; //irgendwas
  FSettings: TSettings;  //irgendwas

implementation  //nun kommt das

uses Preview, Settings, Info; //Usesteil

{$R *.DFM}  //Resourcen
Gruß wulfskin!

_________________
Manche antworten um ihren Beitragszähler zu erhöhen, andere um zu Helfen.
dude Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48



BeitragVerfasst: So 16.03.03 20:07 
jo, danke! FUNKTIONIERT .

MFG dude