Tree View building the array

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
dntknwjck
Posts: 24
Joined: Sat Mar 23, 2019 6:14 pm

Tree View building the array

Post by dntknwjck » Sun Jul 07, 2019 11:29 pm

The attached zip file contains the stacks necessary to run this example program TreeView-Folders.
Which does what the name implies, for Windows and Linux. This is something I put together to figure out how Tree View and Arrays work.
My question is about the command populateArray in folders.livecodescript.
Is there a way to build the array using a recursive function or is there a better way to build the array than what I have done?
Any other suggestions about the code would be appreciated.

Thanks
Attachments
TreeView-Folders.zip
(10.96 KiB) Downloaded 183 times

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”