Great! It works. As far as I know it only needed
FileListBox1.Directory:=dirname;
after
DirectoryListBox1.Directory:=dirname;
Thank you very much rfedyk! :)
When I use the FindFirst() function and I put faDirectory in the attr field, it not only finds directories, but also normal files. How can the program know what's a file and what's a directory?
> EricDraven (Programmer) Mar 13, 2002
> Hopefully this code will help you, its something I worte
> which searches for all files in a given directory. Hope
> this is what you need!
Thanks! I can use this. But it doesn't search in the subdirectories yet, so I still have to find something for...
I REALLY don't get this Toutline component. I want to use it to show the index of a book, like: Book -> Chapter -> Paragraph -> Page and I have it like that. But now I want to be able to click on a page and then I want that page (a HTML file) to be shown in a TWebBrowser. But how can I do that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.