Código Delphi [-] ... if ListView1.ItemIndex = -1 then Exit; ...
... if ListView1.ItemIndex = -1 then Exit; ...