Autor Beitrag
greyhound
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Di 21.10.03 15:12 
Hi Leute,

ich habe zusätzlich zum Hauptformular ein weiteres. Es gibt also die Units Unit1 und Unit2. In Unit1 habe ich eine Variable deklariert mit dem Namen xy. Sie steht direkt vor dem Schlüsselwort Implementation.

Nun möchte ich in einer Routine in Unit2 diese Variable beschreiben.
Auch mit Form1.xy:=... funktioniert es nicht. in Unit2 wird Unit1 referenziert.

Was mache ich falsch?

Danke für die Hilfe,

greyhound
G-man
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 258

Win 2000, Win ME, SuSE 8.2
D5 Standard, D6 Professional
BeitragVerfasst: Di 21.10.03 15:26 
ich sag da nur:
ausblenden Delphi-Quelltext
1:
uses unit1					

_________________
...To err is human, but to really foul things up requires a computer.
greyhound Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Di 21.10.03 16:29 
Ich hatte doch geschrieben, daß ich in Unit2 Unit1 schon referenziere.
barfuesser
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 324



BeitragVerfasst: Di 21.10.03 16:42 
Unit1.xy

barfuesser
greyhound Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 21



BeitragVerfasst: Di 21.10.03 17:01 
das hatte ich auch schon ausprobiert...
barfuesser
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 324



BeitragVerfasst: Di 21.10.03 17:26 
Dann zeig uns doch mal die Deklaration und den Aufruf Deiner Variable.

barfuesser