Hierarchical Listbox Input Text
The text file necessary to produce the window on the left is:
Top Level 1
-Sub Level 1-1
-Sub Level 1-2
--Sub Level 1-2-1
---Sub Level 1-2-1-1
---Sub Level 1-2-1-2
---Sub Level 1-2-1-3
---Sub Level 1-2-1-4
---Sub Level 1-2-1-5
---Sub Level 1-2-1-6
---Sub Level 1-2-1-7
--Sub Level 1-2-2
Top Level 2
-Sub Level 2-1
--Sub Level 2-1-1
--Sub Level 2-1-2
-Sub Level 2-2
Top Level 3
-Sub Level 3-1
-Sub Level 3-2
Alternatively, you can substitute the '-' characters with a tab character (Chr(9)). This might make it more readable in an off-line file.
Copyright © Simon Berridge. All Rights Reserved.