
Ooops, OK. Ich hab auch leider zuerst deinen Code zitiert und deshalb das entscheidende vergessen...
Mußt dem ItemIndex natürlich was zuweisen... Und zwar sieht das richtig dann so aus:
Delphi-Quellcode:
If ListBox1.ItemIndex > -1 then
ListBox2.ItemIndex := ListBox1.itemindex;
Axel Sefranek
A programmer started to cuss, cause getting to sleep was a fuss.
As he lay there in bed, looping round in his head
was: while(!asleep()) ++sheep;