Autor Beitrag
Aceman
Hält's aus hier
Beiträge: 13



BeitragVerfasst: So 05.12.04 19:15 
wie kann ich Variabeln die im einen Formfenster vereinbart wurden auf ein anderes Formfenster übertragen.Wenn z.B. G:=1; im ersten fenster. Wie kann ich diesen wert noch im nächsten Formfenster benutzen.


Moderiert von user profile iconChristian S.: Topic aus Multimedia / Spiele / Grafik verschoben am So 05.12.2004 um 19:26
Basti
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 345

Windows Vista
D2005 Pers, D7 Pers
BeitragVerfasst: So 05.12.04 20:11 
Du musst die Variable global im public Abschnitt deklarieren.

_________________
Der Computer ist die logische Weiterentwicklung des Menschen: Intelligenz ohne Moral.
Andi1982
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 497

WinXP HE
D6 Enterprise
BeitragVerfasst: So 05.12.04 20:19 
Und das Formular in dem die Variable ist in dem Anderen Formular bei "Uses" einbinden!

_________________
Solange die Bombe tickt ist alles in Ordnung, erst wenn sie damit aufhört wird es problematisch...
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 05.12.04 20:20 
Und die Unit mit der Variable in deiner anderen Unit, wo du diese nutzen willst, einbinden.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Aceman Threadstarter
Hält's aus hier
Beiträge: 13



BeitragVerfasst: Mi 08.12.04 17:40 
Danke für die Tipps. Übrigens ich heiße auch Benny :)