Fórum listview 1 e 2 #397139
11/03/2011
0
Alessandra
Curtir tópico
+ 0Posts
11/03/2011
Rodrigo Mattos
procedure TForm1.BitBtn1Click(Sender: TObject); var I: Integer; IIL1: Integer; begin for I := 0 to ListView2.Items.Count - 1 do begin IIL1 := ListView1.ItemIndex; if ListView2.Items.Item[I].Caption = ListView1.Items.Item[IIL1].Caption then begin ListView1.Items.Delete(IIL1); ListView2.Items.Delete(I); Break; end; end; end;
Espero ter Ajudado.
http://mundodoprogramador.wordpress.com
Gostei + 0
11/03/2011
Alessandra
Gostei + 0
11/03/2011
Alessandra
(deletar atravez d um button um item da listview1 e apagar o item da listview 2 "so a linha q stiver com o mesmo caption do listview1"?)
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)