Autor Beitrag
bfelix
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 61

WIN 2000 Prof., Win XP Prof., Win 7 Starter und Prof., SuSe Linux 11.3,
Delphi 7 Pers.
BeitragVerfasst: Mi 09.02.11 22:42 
Hallo Community,
ich würde gerne aus einem Formular, das ich mit Show aus einem anderen Formular geöffnet habe, das aber eine eigene Unit hab, eine Prozedur aus der anderen Unit benutzen. Mit uses geht es nicht, da es sich irgendwie überschneidet, da ich an anderer Stelle schon zum Hide/Show die andere Unit 'geused' habe (Es gibt eine Fehlermeldung). Kann mir da irgendwer helfen?
Danke und LG,
bfelix
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Mi 09.02.11 22:45 
Pack das eine "uses" in den implementation-Teil, dann sollte das klappen. :)

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
// ...

implementation

uses EineUnit, NochEineUnit;

// ...

_________________
We are, we were and will not be.
Delphi-Laie
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1600
Erhaltene Danke: 232


Delphi 2 - RAD-Studio 10.1 Berlin
BeitragVerfasst: Do 10.02.11 00:28 
user profile iconbfelix hat folgendes geschrieben Zum zitierten Posting springen:
(Es gibt eine Fehlermeldung).


Welche? "Circular unit reference"?

user profile iconbfelix hat folgendes geschrieben Zum zitierten Posting springen:
Kann mir da irgendwer helfen?


Falls der Hinweis meines Vorredners nicht hilft, könnte die Nennung des Wortlautes der Fehlermeldung Dich diesem Deinem Ziele näherbringen.