tree, how save content

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
dragancesu
Posts: 920
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

tree, how save content

Post by dragancesu »

I watch tree control

In examples are always creating, but there is nowhere to save this structure

Is there any function to keep the contents of the TREE control in dbf or some other format? save and load

Thank you
User avatar
gfilatov
Posts: 1060
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: tree, how save content

Post by gfilatov »

dragancesu wrote: Mon Feb 12, 2018 9:48 am I watch tree control

In examples are always creating, but there is nowhere to save this structure

Is there any function to keep the contents of the TREE control in dbf or some other format? save and load

Thank you
Hello Dragan,

You can take a look for the following sample as a first step (load and save from/to own format file).
sshot.png
sshot.png (23.1 KiB) Viewed 1871 times
Hope that give you some idea :idea:
Attachments
tree_save.zip
simple load and save of a tree
(661.88 KiB) Downloaded 183 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
dragancesu
Posts: 920
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: tree, how save content

Post by dragancesu »

That's it, Thank you
Post Reply