Page 1 of 1

store information per org item

Posted: Sun Jul 05, 2009 7:50 am
by 10553605
hi

i want to store an integer information per OrgItem. i noticed that i dont have any way to do it, even property Tag does no exists, any suggestions what can be done?

notice that i need this information to be stored per sessions so when i save and re-load the map, i will still have access to this information.
in other words: is it possible to ask of you to add Tag property?

thanks

Re: store information per org item

Posted: Sun Jul 05, 2009 7:55 am
by 10553605
ofcourse i'll be happy to know what can be done until this property is added

Re: store information per org item

Posted: Mon Jul 06, 2009 8:07 am
by yeray
Hi Nati,

I'm not sure on the sense of having a property like that for all Organizationsl series. I mean, I understand that you need to store extra information in your specific application but I don't see the need of having this extra property. Maybe you could explain it better.

On the other hand, you always can store information using arrays. For example you could have an array of integers that could have as items as values in your series, and use it to store your information.

Re: store information per org item

Posted: Mon Jul 06, 2009 9:13 am
by 10553605
currently i do use a TStringlist with names/values to do exactly that, but:
1) its not nice/clean
2) i have another object to maintain which is not necessary ideally.
3) in order to save things between sessions im saving information in a DB, so i need to save the TStringList info as well
4) i need to make sure there is a correlation between 2 objects that has no direct relation between them.
5) every object contains a Tag property, i believe there is a reason for that :) i dont think that adding this property is an exaggerated request :) ofcourse the content of this property should be stored/restored accordingly

thanks

Re: store information per org item

Posted: Mon Jul 06, 2009 10:22 am
by yeray
Hi Nati,

Ok, I've added it to the wish list to be considered for inclusion in future releases (TV52014275). But, as here, let me recommend you to use TeeTree to do this kind of charts.