I work with RadStudio 10.1 Berlin in c++ and teechart Pro 2017.21
I found next error in teechart. After adding on chart RectangleTool and AnnotationTool, then i dragged annotation in RectangleTool area, i can't drag annotation with SelectorTool, only Rectangle.
Error occurs because of tools order in Selector. Then i click on chart, SelectorTool stops on Rectangle(Rectangle inherited from Annotation). Error can't be fixing by override SelectorTool class(function of search tools is not virtual)
The only way to fix error is change source code and recompile teechart.
To fix error in source code i can change FOR operator in file TeeSelectorTool.pas on string 353 by this:
Code: Select all
for t:=Tools.Count-1 downto 0 do
Also there is screenshot of tools order in archive