nimm' doch mal die
Unit direkt in das Projekt auf (per Datei hinzufügen oder "drag and drop")
übrigens sind globale Variablen kein guter Programmierstil
das was Du gepostet hast, könntest Du alles mit class procedures / functions lösen, dann benötigst Du keine Instanzen
mr2
"... we know, there are known knowns; there are things we know we know. We also know there are known unknowns; that is to say we know there are some things we don't know. But there are also unknown unknowns - the ones we don't know we don't know."