Re: [Gambas-user] load contents of a TreeView from a file

2008-08-17 Thread Doriano Blengino
Joshua Higgins ha scritto: > aha! No problem at all. The file I was loading my lines from had an empty > newline right at the end. I added a CATCH as a temporary workaround. Thanks > for your help! > Good - happy to hear it. I just want to remember you that the PRINT instruction is good to print

Re: [Gambas-user] load contents of a TreeView from a file

2008-08-17 Thread Joshua Higgins
aha! No problem at all. The file I was loading my lines from had an empty newline right at the end. I added a CATCH as a temporary workaround. Thanks for your help! On Sun, Aug 17, 2008 at 11:38 AM, Joshua Higgins <[EMAIL PROTECTED]>wrote: > Thank you very much for the reply. > > I have got as fa

Re: [Gambas-user] load contents of a TreeView from a file

2008-08-17 Thread Joshua Higgins
Thank you very much for the reply. I have got as far as the FOR EACH section, and I have done sItem = Split(sLine, " ") to get another array called sItem with the 3 bits of information I need to add to the TreeView. The problem I'm having is identifying each part of the array. If I shell "echo "

Re: [Gambas-user] load contents of a TreeView from a file

2008-08-16 Thread Doriano Blengino
joshiggins ha scritto: > Hello. > > I'm just starting out with gambas and need some help. I have a file > formatted as follows: > > itemkey [SPACE] itemname [SPACE] path/to/icon > itemkey1 [SPACE] itemname [SPACE] path/to/iconetc...etc... > > I need to load this data from a file into a treeview

[Gambas-user] load contents of a TreeView from a file

2008-08-16 Thread joshiggins
Hello. I'm just starting out with gambas and need some help. I have a file formatted as follows: itemkey [SPACE] itemname [SPACE] path/to/icon itemkey1 [SPACE] itemname [SPACE] path/to/iconetc...etc... I need to load this data from a file into a treeview. I figure that I need to load the fi