working on a tool with customized treeview component. Anyone know how to save and re-import the treeview module?
Thanks.
How can I export or save treeview layout
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: How can I export or save treeview layout
What is a Treeview layout? The PSF file contains the forms controls layout. If you want to save the contents of a control, you can just write it to a file. You will have to decide how you would design a file to match your layout. I suggest that an XML file would be the best choice as it is hierarchical like a tree.
Re: How can I export or save treeview layout
I've created a simple tool that leverages the treeview module. I would like to save the treeview layout on demand so the treeview layout can be reapplied the next time the app is launched. My problem is I don't know how to save the treeview layout and my searching hasn't yielded much.
Re: How can I export or save treeview layout
The layout is the way the TreeView is displayed. You will have to save both the data and the visual attributes of the control. You can do this with an XML file. I see no other way to do this.
Save all data and the visual properties of the control then read them back and create each node as specified in the XML file.
Save all data and the visual properties of the control then read them back and create each node as specified in the XML file.
Re: How can I export or save treeview layout
yea it can be saved as XML, XML file would be the best choice as it is hierarchical like a tree.
Re: How can I export or save treeview layout
The PSF file contains the forms controls layout. techzpod download mobdro