Autor Beitrag
Sauger Chris
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 228

Win XP, Linux SuSE 9.2
Delphi 4,Delphi 7 Ent.
BeitragVerfasst: Sa 11.12.04 20:15 
Hi ich habe eine frage oder ein problem meine frage an euch
information zu listview:
4 Spalten (Name, Größe, Speicher, Datum)

4 Tedit kommponenten (Name, Größe, Speicher, Datum)

ich möchte ein item in der listview makieren das makierte item und
die subitems sollen dann in den 4 tedit kommponenten ausgegeben werden.


Dank an alle die posten :D

Mfg Zauny
Pr0g
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 220


D7 Pers
BeitragVerfasst: Sa 11.12.04 21:21 
Hallo,

ausblenden Delphi-Quelltext
1:
2:
3:
4:
  Edit1.Text := ListView1.Selected.Caption;     //erste Spalte
  Edit2.Text := ListView1.Selected.SubItems[0]; //zweite...
  Edit3.Text := ListView1.Selected.SubItems[1];
  Edit4.Text := ListView1.Selected.SubItems[2];


MfG Pr0g
Sauger Chris Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 228

Win XP, Linux SuSE 9.2
Delphi 4,Delphi 7 Ent.
BeitragVerfasst: Sa 11.12.04 21:24 
jo danke.



MfG zauny