Jump to content
Tuts 4 You

Saving Treeview / node.data and records


Recommended Posts


hey gang, hope everyone is well :P

I am developing an application management program (see screenshot below)


The problem I am having is to do with saving the settings or Treeview. I have googled and seen an example on about.com saving in the xml format but my xml knowledge is nil,

The goal is to beable to save the treenode to a single file along with the images. however (the big problem) i have assigned records to each node using the node.data (pointer to a record) in which contains unique information based on each node.

PAppItem = ^TAppItem;
TAppItem = Record
sFileName :String;
sFilePath :String;
sCategory :TTreeNode;
cmdShow :Integer;

category nodes do not have this record assigned to it but application nodes do. Is it possible to save all this data?

Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...