Registriert seit: 28. Apr 2008
Ort: Stolberg (Rhl)
6.659 Beiträge
FreePascal / Lazarus
|
AW: Access variable from one form to another
20. Aug 2013, 16:36
there are several ways to get what you want. I prefer this;
Delphi-Quellcode:
Unit3
interface
...
var
OldId : integer;
Delphi-Quellcode:
Unit2
interface
uses unit3;
..
OldId := OldId+1;
Delphi-Quellcode:
Unit1
interface
uses unit3;
..
OldId := OldId+1;
greetings
K-H
Programme gehorchen nicht Deinen Absichten sondern Deinen Anweisungen
R.E.D retired error detector
|