Ver Mensaje Individual
  #1 (permalink)  
Antiguo 25/11/2004, 10:19
v_basic_f
 
Fecha de Ingreso: noviembre-2004
Ubicación: Tortugas
Mensajes: 25
Antigüedad: 19 años, 6 meses
Puntos: 0
Busqueda Visual Basic 6.0

Hola, soy Facundo Cosimo, y tengo una pregunta:
En un frame tengo un FileListBox, en otro frame tengo otro FileListBox, y en otro frame tengo un botón de comando.
La pregunta es:
¿Cómo hago para que al hacer click en el botón se agregue al segundo FileListBox el archivo seleccionado en el primer FileListBox.
Se cómo hacerlo, el código es algo así:
Código PHP:
Private Sub Command1_Click()
Agregar.Pattern "*.*"
Form2.Agregar.FileName File1.Path "\" & File1.FileName
End Sub

Private Sub Command3_Click()
Form1.List1.FileName = Form1.List1.FileName
Form1.List1.FileName = Agregar.Path & "" & Agregar.FileName
Unload Me
End Sub 
------------------------------------------------------------------------
A mí me anda, pero me borra el texto agregado anteriormente, y no quiero que eso pase.
Espero que me respondan...
Facundo Cosimo