Autor Beitrag
Hendi48
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 271



BeitragVerfasst: So 22.07.07 19:57 
Hi,
ich hab eine ListView mit 4 Spalten (1 ist root, andern 3 subitems) und möchte den Text der SubItems verändern. Beim ersten geht das auch:
ausblenden Delphi-Quelltext
1:
lv1.Items[Lv1.ItemIndex].SubItems.Text:='test1';					

aber dann leert er alle spalten dahinter. Wie kann ich den Spalten dahinter auch noch einen Text zuweisen und verhindern das wenn ich was änder alles leergeräumt wird? :?:
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10185
Erhaltene Danke: 1261

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: So 22.07.07 21:38 
Moin!

ausblenden Delphi-Quelltext
1:
lv1.Items[Lv1.ItemIndex].SubItems.Strings[]...					

Die Delphi-Online-Hilfe (erreichbar über F1 an jeder Stelle im Code) erklärt, was wo wie und warum. :les: :mahn: ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Hendi48 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 271



BeitragVerfasst: So 22.07.07 21:50 
Danke, es geht.