![]() |
![]() |
![]() |
![]() |
![]() |
FTP | ![]() |
![]() |
CCD | ![]() |
![]() |
Buscar | ![]() |
![]() |
Trucos | ![]() |
![]() |
Trabajo | ![]() |
![]() |
Foros | ![]() |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
![]() |
|
Herramientas | Buscar en Tema | Desplegado |
#1
|
|||
|
|||
De ListBox a ListView
Nesesito convertir este codigo para que lo use una Listview exactamente esto
Código:
FlatListBox1.Items[FlatListBox1.itemindex]; Código:
var RemoteFile,SaveLocalAs, CurrentDir : string; begin RemoteFile:=CurrentDir+FlatListBox1.Items[FlatListBox1.itemindex]; savedialog1.FileName:= FlatListBox1.Items[FlatListBox1.itemindex]; |
#2
|
|||
|
|||
La solución:
He añadido unas línias que comprueban si hay items seleccionados en el ListView (if ... else ...) si no hay muestra un mensaje. ![]() |
#3
|
|||
|
|||
Muchas gracias por tu ayuda!
|
#4
|
|||
|
|||
No hay de que!
|
![]() |
|
|
![]() |
|