| Usuario |
Control Listview |
Eclesiastes
1 Mensaje(s) |
| Enviado - 4/10/2002 |
| |
| Hola como estas..espero que bien, quisiera saber si ahi alguna posibilidad de imprimir el contenido de un control LISTVIEW..gracias :) |
| |
|
calberto
2 Mensaje(s)
|
| Enviado - 31/10/2002 |
| |
Dim ImpLinea as Integer
Todo es posible te mando el codigo y espero que te sirva:
For i = 0 To ListView.ListItems.Count - 1
Printer.Print " " _
& ListView.ListItems(i + 1).Text & _
" " _
& ListView.ListItems.Item(i +
1).SubItems(1) & vbCrLf
ImpLinea = ImpLinea + 1
If ImpLinea = 30 Then
Printer.NewPage
ImpLinea = 0
End If
Next |
| |
|
|
|