Load data into a tree view

Bob Sneidar bobsneidar at iotecdigital.com
Fri Aug 24 16:55:34 EDT 2018


Thanks Brian. Now I need an XML to Array parser. Looks like I will have to write one myself. Good time to get into the XML API. 

Bob S


> On Aug 24, 2018, at 13:53 , Brian Milby via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Correct, you populate the tree with an array.
> 
> Thanks,
> Brian
> On Aug 24, 2018, 3:51 PM -0500, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com>, wrote:
>> Pfft. Never mind I found the Tree View in the dictinoary. I think it only takes array data though.
>> 
>> Bob S
>> 
>> 
>>> On Aug 24, 2018, at 13:49 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>>> 
>>> Hi all.
>>> 
>>> Given an XML file that I can assume is a valid structure, how would I get that into a tree view?? I looked online for a tutorial on the tree widget, I looked at the properties of the actual tree widget, I searched the dictionary, but I cannot find out how to load existing XML data into a tree.
>>> 
>>> I could write an XML parser of my own or use the built in commands, but there is nothing I can find on how to interact programmatically with a tree view.
>>> 
>>> Bob S
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list