Link to home
Start Free TrialLog in
Avatar of HenryM2
HenryM2

asked on

How do I save a Treeview together with its StateIndex values used for check box immages in the tree

My application had a TTreeViewcontaining Text only.  With this I simply used SaveToFile and LoadFromFile to save and retrieve the Tree.  I now added some checkboxes to the TreeView using  StateIndex to point to the associates immages for the checkboxes.  How can I save the TreeView now together with the StateIndex values as the SaveToFile and LoadFromFile methods only save the text and not the StateIndex values?
ASKER CERTIFIED SOLUTION
Avatar of 2266180
2266180
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HenryM2
HenryM2

ASKER

Thanks the solution from the link did the trick