Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
How to list directories ?
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Error: Enumeration symbol...
by
daniel_sap
[
Today
at 02:53:08 am]
exception external SIGSEG...
by
dseligo
[
Today
at 02:24:28 am]
Why does the call via fun...
by
Martin_fr
[
Today
at 01:59:35 am]
Hashing pointers by using...
by
jamie
[
Today
at 01:53:37 am]
[SOLVED] Is this a compil...
by
jamie
[
Today
at 01:46:54 am]
Problem installing LazPro...
by
peter.dell
[
Today
at 01:32:53 am]
AI interactions
by
Joanna
[December 13, 2025, 11:47:24 pm]
project - count source li...
by
bobonwhidbey
[December 13, 2025, 10:30:31 pm]
Recomendations for conver...
by
BlueIcaro
[December 13, 2025, 09:49:20 pm]
FPC 3.2.4-rc1 available
by
PeterBB
[December 13, 2025, 08:31:32 pm]
fpsockets error: 10047
by
parcel
[December 13, 2025, 04:03:56 pm]
So many "newbies"
by
Joanna
[December 13, 2025, 02:52:06 pm]
Is it possible to run "mo...
by
Thausand
[December 13, 2025, 02:42:56 pm]
TIBDataSet "Closing"? on ...
by
RedOctober
[December 13, 2025, 02:38:05 pm]
TLazSerial : serial port ...
by
CM630
[December 13, 2025, 02:20:24 pm]
connecting to mariadb
by
alanyoung
[December 13, 2025, 01:27:11 pm]
How to get the standard m...
by
stem
[December 13, 2025, 12:50:55 pm]
Lookup field: error list ...
by
BlueIcaro
[December 13, 2025, 12:00:10 pm]
Anchoring controls with d...
by
jamie
[December 13, 2025, 11:22:45 am]
Recompiled IDE with LCLRe...
by
AlexTP
[December 13, 2025, 05:09:56 am]
Commerce website written ...
by
Joanna
[December 13, 2025, 01:00:28 am]
TaurusTLS 1.0.0.25 beta 2...
by
LeP
[December 12, 2025, 09:21:31 pm]
Single / Double / Float s...
by
tetrastes
[December 12, 2025, 09:10:39 pm]
Publish a LAMW app in F-d...
by
spacepascal
[December 12, 2025, 09:00:41 pm]
OS/2 Warp 4 problem with ...
by
PascalDragon
[December 12, 2025, 08:30:23 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to list directories ? (Read 5395 times)
b0dd4h
Newbie
Posts: 2
How to list directories ?
«
on:
May 05, 2005, 05:24:47 pm »
I would like to list all files from a directory in a ListView or a TreeView, but i dont know how to do this.
Someone could help me posting a example ?
Sorry for my mistakes, english isn't my native language
Logged
matthijs
Hero Member
Posts: 537
How to list directories ?
«
Reply #1 on:
May 05, 2005, 07:15:43 pm »
Have a look at this
http://www.festra.com/eng/snip04.htm
It is an example for Delphi, but it will work in Lazarus as well.
Logged
What's in a sig? Would my posting look less if it didnot have a sig? (Free after William S.)
Why cannot I upload my own Avatar?
b0dd4h
Newbie
Posts: 2
How to list directories ?
«
Reply #2 on:
May 05, 2005, 07:21:13 pm »
matthijs
, thanks !!
I will try this example
# Edit
Worked !
In this part, i chaged the '\' for '/', only this and worked, thanks again
if StartDir[length(StartDir)] <> '\' then
StartDir := StartDir + '\';
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
How to list directories ?
TinyPortal
© 2005-2018