Saving/loading treeview nodes lazarus / 31-LCL ---------------------------------------------------------------------- Zaxxon · 2022-02-06 11:51 Here is a little test program that demonstrates one way so save and load nodes in a treeview. Someone might find it useful. Press load to load the included file "TreeNode.txt". You can drag/drop nodes in the tree, remove and move them up/down. I'm using what i call "stringindex", a way to store multiple strings within a single string. I have found that very useful lately. You can test that in the right section of the program.  The stringindex functions have recently been optimized for speed, so the code can be somewhat messy.  Some old code remain as comments. ---------------------------------------------------------------------- Zvoni · 2022-02-07 07:42 I would have probably gone with JSon (or XML) since it supports nested "Data" (Objects)