Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/10/2006, 04:06
luciano
 
Fecha de Ingreso: abril-2004
Mensajes: 192
Antigüedad: 20 años, 1 mes
Puntos: 0
Probá asi. salu2

Command1, ListView1

Código:
Private Sub Command1_Click()

If Not ListView1.SelectedItem Is Nothing Then
   If MsgBox("Eliminar ?", vbQuestion + vbYesNo) = vbYes Then
    ListView1.ListItems.Remove (ListView1.SelectedItem.Index)
    ListView1.Sorted = True
   End If
End If
End Sub

Private Sub Form_Load()
For i = 0 To 10
ListView1.ListItems.Add , , i
Next
End Sub
__________________
Recursos visual basic