Kod: Tümünü seç
procedure TForm1.Button1Click(Sender: TObject);
var
i:integer;
begin
i:=0;
For i:=0 to 8 do begin
if inttostr(i) = ListBox1.Items[i] then begin
listbox2.Items.Add(ListBox1.Items[i]);
end;
end;
end;
Kod: Tümünü seç
procedure TForm1.Button1Click(Sender: TObject);
var
i:integer;
begin
i:=0;
For i:=0 to 8 do begin
if inttostr(i) <> ListBox1.Items[i] then begin
listbox2.Items.Add(ListBox1.Items[i]);
end;
end;
end;