TeeChart 2010 - TreeMap - No Documentation?
Posted: Sun May 30, 2010 11:55 pm
Hi
I have purchased the TeeChart2010 - and have it installed. I have it working fine in Dephi 2009. I am now trying to figure out how to add items to the TreeMap. However, I am not able to figure out how to add items inside others. The Add method has a parameter called Superior - but I cannot figure out how to use it.
The directory where TeeChart was installed (C:\Program Files\Steema Software\TeeChart Pro 2010 Full Source Code) - has no help file - or sample projects to learn from. All I have below that directory is the Sources directory - and the ones for TeeMaker and TeeTree directories.
Is this normal? If so - what happened to the help file that was with eariler versions? Are their examples how to add things to the TreeMap?
I tried adding it
Series_TreeMap.Add(999,DirectoryName,0,clTeal);
and it gives me a list index out of bounds error.
When I switch the Superior parameter to -1 then
Series_TreeMap.Add(999,DirectoryName,-1,clTeal);
then it loads properly - but then I only get the first level of directories...
So - I am thinking that the Superior parameter has something to do with what blocks are inside of other blocks - but without any docs it is very difficult to figure out.
Can someone point me to some samples - or send me a help file
Bradley MacDonald
TimeAcct Information Systems
brad_AT_timeacct_DOT_com
I have purchased the TeeChart2010 - and have it installed. I have it working fine in Dephi 2009. I am now trying to figure out how to add items to the TreeMap. However, I am not able to figure out how to add items inside others. The Add method has a parameter called Superior - but I cannot figure out how to use it.
The directory where TeeChart was installed (C:\Program Files\Steema Software\TeeChart Pro 2010 Full Source Code) - has no help file - or sample projects to learn from. All I have below that directory is the Sources directory - and the ones for TeeMaker and TeeTree directories.
Is this normal? If so - what happened to the help file that was with eariler versions? Are their examples how to add things to the TreeMap?
I tried adding it
Series_TreeMap.Add(999,DirectoryName,0,clTeal);
and it gives me a list index out of bounds error.
When I switch the Superior parameter to -1 then
Series_TreeMap.Add(999,DirectoryName,-1,clTeal);
then it loads properly - but then I only get the first level of directories...
So - I am thinking that the Superior parameter has something to do with what blocks are inside of other blocks - but without any docs it is very difficult to figure out.
Can someone point me to some samples - or send me a help file
Bradley MacDonald
TimeAcct Information Systems
brad_AT_timeacct_DOT_com