Autor Beitrag
Belowtiss
Hält's aus hier
Beiträge: 14

Windows XP
Delphi 7
BeitragVerfasst: Mi 01.02.06 15:16 
Hallo zusammen

ich habe eine Software mit mehreren Formularen. Wenn ich jetzt Variablen vom einten auf das andere Formular übergeben möchte, wie muss ich das anstellen?
Ich habe versucht die Variablen Global zu definiren und dann darauf zuzugreifen, aber das funktioniert nicht.

Vielen dAnk für eure Hilfe
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: Mi 01.02.06 15:19 
Wo hängts?
Hast du in der Unit, in der du drauf zugreifen willst, die andere in die Uses-Klausel mit aufgenommen?

_________________
Programmers never die, they just GOSUB without RETURN
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mi 01.02.06 15:20 
Es geht aber so, wie du es beschrieben hast.
Zeig doch mal deinen Code (besonders dort, wo du die Variablen global deklariert hast).

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Belowtiss Threadstarter
Hält's aus hier
Beiträge: 14

Windows XP
Delphi 7
BeitragVerfasst: Mi 01.02.06 15:23 
Titel: Uses Klausel
Ist schon fast peinlich, ich habe das Formular nicht in die uses klausel aufgenommen. jetzt funktioniert. Danke!!