Ver Mensaje Individual
  #2  
Antiguo 20-04-2006
Avatar de ElKurgan
[ElKurgan] ElKurgan is offline
Miembro Premium
 
Registrado: nov 2005
Posts: 1.234
Reputación: 20
ElKurgan Va camino a la fama
De la ayuda de Delphi:

TFileListBox.FileName:
Indicates the name of the selected file in the list box, including the path name.

por tanto, puedes hacer algo como esto:

Código:
if FileExists(MiFileListBox.FileName) then
    DeleteFile(MiFileListBox.FileName);
Espero que te sirva
Un saludo
Responder Con Cita