Hi there, i'm experiencing a strange behaviour accessing a treeview control in pb2017.
I populate a treeview with some data coming from a json object and then launch a function that scans its data sequentially according to its levels and branches.
Everything working fine until i try to reset the same treeview and repopulate it for example with the same data.
If i try to read the the tv again starting from the beginning it looks completely unsorted....The strange part is that i see the branches in the control correctly but when i try to read it, the labels and data are completely mixed. I get a different result everytime i reset it.
To reset the treeview control i use the tv_1.deleteitem(0)
Is this right or maybe should i use a different approach? am i missing something?
Consider that if i close the window with the tv control and reopen if the first time everything working fine again...
any help would be appreciated,
tia
thank you Chris...looks like the visual uo approach is working !