Autor Beitrag
Alex_ITA01
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 56

Win XP
D7 Prof
BeitragVerfasst: Do 16.10.03 13:32 
hallo erstmal,
wie greife ich von Unit2 auf eine procedure von Unit 1 zu?
ich habe in den public teil schon

procedure Auswahl;

geschrieben aber da kommt ein fehler beim compilieren

kann mir bitte jemand helfen
obbschtkuche
Gast
Erhaltene Danke: 1



BeitragVerfasst: Do 16.10.03 13:37 
maze2k
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 252

WIN 95, WIN NT 4.0, WIN 98, WIN 98SE, WIN 2000, RedHat Linux 7.3, Mandrake Linux 9.2, Knoppix Linux 3.3
D6 Pers
BeitragVerfasst: Do 16.10.03 13:46 
nix da public....
einfach nur

ausblenden Delphi-Quelltext
1:
Form1.meineprozedur(parameter);					


dazu gibts aber nu wirklich schon duzende von Posts (und ich beantworte sie jedes mal aufs neue....)

Also erst suchen im Forum bitte :roll:

_________________
Wer das Konzept der Unendlichkeit verstehen will, muss nur das Ausmaß menschlicher Dummheit betrachten. (Voltaire)
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: Fr 17.10.03 14:21 
Weu du die Unit noch nicht eingebunden hast einfach nur
ausblenden Delphi-Quelltext
1:
2:
uses
..., deineUnit;
[/delphi]

_________________
...To err is human, but to really foul things up requires a computer.
ErnestoChe
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 528

Win 2000 pro, CRUX 2.0
Delphi 6 Pers, Open K3
BeitragVerfasst: Fr 17.10.03 16:53 
Hi,

Ähm ...

maze2k hat folgendes geschrieben:
nix da public....
einfach nur

Sourcecode:
Form1.meineprozedur(parameter);


Wenn die Prozedur eine Methode der Form ist, muss sie sehr wohl im Public Teil stehen, wenn man sie aus einer anderen Unit aufrufen will.

maze2k hat folgendes geschrieben:
(und ich beantworte sie jedes mal aufs neue....)


Es zwingt dich doch niemand dazu.

@Alex_ITA01
Wie lautet die Fehlermeldung?

MFG

- Ernesto -