Autor Beitrag
Force
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 143

Ubuntu Jaunty
FreePascal
BeitragVerfasst: Fr 27.10.06 22:08 
Hi, ich hab da ne Frage:

Ich hab ein Form, welches ein normales Memo-Feld beinhaltet. Für jeden Eintrag in einer ListView soll nun dieses kopiert werden und von Form1 aus soll in jedes Memo-Feld ein anderer Inhalt in jedes Memo-Feld geschrieben werden.

Bis jetzt hatte ich eigentlich nie ein Problem damit, da ich vorher immer wusste, wieviele Forms erstellt werden und ich diese dann als globale Variablen definiert habe, nur jetzt gehts halt nicht ;)

Wäre es vielleicht möglich die Forms in ein Array zu packen (ich hab zwar schon gescucht, aber nirgends gefunden, wie man ein Array erstellt, wo die Anzahl der Einträge nicht definiert ist...)


Vielen Dank schon mal,

Force
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Sa 28.10.06 12:56 
Hallo,

mit CreateNew erstellte Forms sind in Application.Components[z] enthalten,
oder schau Dir auch mal TScreen.Forms an.

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
Force Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 143

Ubuntu Jaunty
FreePascal
BeitragVerfasst: Sa 28.10.06 13:21 
vielen dank für deine Antwort!!

klappt jetzt :D