Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/12/2009, 03:59
Avatar de pkj
pkj
 
Fecha de Ingreso: julio-2006
Ubicación: Órbita sincrónica
Mensajes: 899
Antigüedad: 17 años, 10 meses
Puntos: 29
Respuesta: Tomar Datos De Listiview

El fallo que tienes es que sobreescribes continuamente los textbox sin guardar el texto anterior.

Debería ser algo como:

Código vb:
Ver original
  1. Private Sub Command1_Click()
  2.   dim a as string
  3.   For a = 1 to ListView1.ListItems.Count
  4.     text1.text = text1.text & vbCrLf & ListView1.ListItems.Item(a).Text
  5.     text2.text = text2.text & vbCrLf & ListView1.ListItems.Item(a).Subitems(1)
  6.   Next a
  7. End Sub
__________________
No hay preguntas tontas, solo gente estup..., ¡No!, ¿como era? No hay gente que pregunte a tontos... ¡Nooo!... ¡Vaya cabeza!