Autor Beitrag
omega123
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 16



BeitragVerfasst: Fr 31.01.03 21:09 
und schonwieder habe ich ein kleines (großes) problem


in meinem memo stehen folgende texte

(1)192.45.0.78Text
(2)207.80.153.78Text
...
...

die sollen nun in ein listview kopiert werden

also die zahl in der klammer bekomme ich ja noch in meine listview kopiert

und auch gelöscht

aber wie bekomme ich nun die ip und den text auch noch in die listbox?

bitte (leider) mal wieder um hilfe

schonmal danke im vorraus
kiwicht
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1021

Win 7, MacOS
Delphi x, VBA, PHP, ...
BeitragVerfasst: Sa 01.02.03 02:01 
zeig doch mal den code, mit dem du den kram in die listbox kopierst...
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Sa 01.02.03 12:16 
ich würd das spontan mal so machen:
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
var temp:integer;
tempstr:string;
begin
for temp := 0 to memo1.lines.count - 1 do begin
tempstr := memo1.lines[temp];
tempstr := copy (tempstr, pos (')',tempstr)+1,Length (tempstr));
listbox1.items.add (tempstr);
end;

_________________
In the beginning was the word.
And the word was content-type: text/plain.