Autor Beitrag
delphimike
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 117



BeitragVerfasst: So 01.05.05 10:29 
Hallo

ich suche eine einfaches Beispiel wie ich eine Datenstruktur (Record) in eine PCollection packe

Vereinfacht dargestellt:

ich habe Zellen

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
TCell = record 
           type : byte;
           text : string;
           ....
         end;


und möchte diese Zellen in einer Collection sammeln

ausblenden Delphi-Quelltext
1:
2:
Cell.type:=0; Cell.text:='test'; ....
CellCollection.add(Cell);



ich vermute es muß über Klassen geschehen aber die Dokus umgehen das Thema alle

Gruß Mike

Moderiert von user profile iconraziel: Delphi-Tags hinzugefügt.
Moderiert von user profile iconraziel: Topic aus VCL (Visual Component Library) verschoben am So 01.05.2005 um 11:17
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: So 01.05.05 22:45 
Was ist CellCollection?

_________________
Ciao, Sprint.
delphimike Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 117



BeitragVerfasst: Mo 02.05.05 08:43 
hat sich erledigt...

TList erfüllt alle meine Wünsche....

manchmal ist es doch so einfach....