Ver Mensaje Individual
  #1  
Antiguo 18-01-2017
LuKa$ LuKa$ is offline
Registrado
NULL
 
Registrado: nov 2016
Posts: 4
Reputación: 0
LuKa$ Va por buen camino
Pintar fila de Listview

Hola,en un boton tengo el siguiente código :

Código Delphi [-]
  
procedure TForm1.Button2Click(Sender: TObject);
for i := 0 to ListView1.Items.Count - 1 do
  begin
    if ListView1.Items[i].Subitems[0] = Edit1.Text then // Comparo si son iguales 
    begin
      ListView1.color =clRed; ????      // --> Pinto la linea del listview de la fila encontrada    
    end;
  end;
end;

mi duda es como puedo pintar la fila encontrada.

Gracias.
Responder Con Cita