PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Fill a list box
Fill a list box
Débuté par guillermo, 05 oct. 2005 06:19 - 2 réponses
Posté le 05 octobre 2005 - 06:19
Hi forum
I need fill a list box, with the name of the files existing in a directory, without using fselect.
How can I do ?
Thanks
Guillermo
Posté le 05 octobre 2005 - 10:47
Hi,
maybe you can try :
*************************************************************************
fListFile(CompleteDir(StrDirectoryPath)+"*.*","ListFileInListBox")
fDir("")
*************************************************************************
PROCEDURE ListFileInListBox(Directory,FileName,Change,Pointer)
ListAdd(Listxxxx, Directory+Name)
WinRedraw()
***************************************************************************
regards
robert zhong
Hi forum
I need fill a list box, with the name of the files existing in a directory, without using fselect.
How can I do ?
Thanks
Guillermo
Posté le 05 octobre 2005 - 15:50
Thanks Robert, I try it
Guillermo
Hi,
maybe you can try :
*************************************************************************
fListFile(CompleteDir(StrDirectoryPath)+"*.*","ListFileInListBox")
fDir("")
*************************************************************************
PROCEDURE ListFileInListBox(Directory,FileName,Change,Pointer)
ListAdd(Listxxxx, Directory+Name)
WinRedraw()
***************************************************************************
regards
robert zhong
Hi forum
I need fill a list box, with the name of the files existing in a directory, without using fselect.
How can I do ?
Thanks
Guillermo