Autor Beitrag
rafi@work
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 147

Win2000 Prof
D7 Enterprise
BeitragVerfasst: Do 25.11.04 16:07 
Hallo zusammen!

Wie kann ich den String "xy" an ein bestehendes Item in einer Listbox anhängen?
Z.B. an das Item mit dem Index 0...

Für jede Hilfe bin ich dankbar!

gruss
Rafael



Moderiert von user profile iconUdontknow: Verschoben.
Udontknow
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2596

Win7
D2006 WIN32, .NET (C#)
BeitragVerfasst: Do 25.11.04 16:11 
Kurz und knapp...

ausblenden Delphi-Quelltext
1:
Listbox.Items[0]:=Listbox.Items[0]+', Test!';					


Cu,
Udontknow
vsti
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 43

XP Home
D2005
BeitragVerfasst: Do 25.11.04 16:11 
ausblenden Delphi-Quelltext
1:
ListBox1.items.strings[0] := ListBox1.items.strings[0] + 'xy';					

_________________
[size=10:8b472be373]Wer anderen eine Grube gräbt hat Gold im Mund.[/size:8b472be373]
st-matze
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 138

Win 3.11, Win 95, Win 98, Win XP
D7 Ent, D6 Pers, (D5 Pers)
BeitragVerfasst: Do 25.11.04 16:11 
versuchs mal damit

ausblenden Delphi-Quelltext
1:
2:
  
 Listbox1.Items[0]:=Listbox1.Items[0]+'hallo';
vsti
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 43

XP Home
D2005
BeitragVerfasst: Do 25.11.04 16:12 
oder so ^^

_________________
[size=10:8b472be373]Wer anderen eine Grube gräbt hat Gold im Mund.[/size:8b472be373]
rafi@work Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 147

Win2000 Prof
D7 Enterprise
BeitragVerfasst: Do 25.11.04 16:15 
Allen ein dickes Dankeschön!!!

Funktioniert wunderbar :D

Gruss