[Gambas-user] Newb needs help, Could I have an example of treefile save?
jbskaggs
jbskaggs at ...1871...
Sat Mar 22 02:11:10 CET 2008
As yall know I am just beginning programming, and In my program I am at the
point of where I need to save my treeview. But I am getting confused by the
save commands.
Could you show me an example of how exactly to open and save file that would
record each treeview.item's characteristics:
ie this is what I am thinking but it's not working and
open "myfile" as #1
treecount = TreeView2.Count
REPEAT
WRITE #1 TreeView2.Item.Key, TreeView2.Item.Image, TreeView2.Item.Text,
TreeView2.Parent
treeview2.MoveNext
savecount+=1
UNTIL savecount = treecount
so could somebody give the code to do this?
Thanks
JB SKaggs
--
View this message in context: http://www.nabble.com/Newb-needs-help%2C-Could-I-have-an-example-of-treefile-save--tp16213218p16213218.html
Sent from the gambas-user mailing list archive at Nabble.com.
More information about the User
mailing list