OnClickShape Bug in TeeTree
Posted: Thu Dec 07, 2006 1:50 am
Hi
Delphi 7 Pro; Win2K; TeeChartPro 7.07 with full source.
I implement checkbox functionality in TeeTree using the OnClickShape event.
This works OK until the tree has a number of nodes requiring a scroll to select the lower nodes or the tree is dragged manually vertically or horizontally (scroll bars appear) .
If the tree is scrolled and the checkbox of any visible node is clicked, the OnClickShape event is not fired or is fired for the wrong node. However, if the node text is clicked then the event fires for the correct node.
So, what appears to be happening is that the target area to respond to mouse clicks for the OnClickShape event is incorrect after scrolling the tree.
Please advise a solution.
Roland.
Delphi 7 Pro; Win2K; TeeChartPro 7.07 with full source.
I implement checkbox functionality in TeeTree using the OnClickShape event.
This works OK until the tree has a number of nodes requiring a scroll to select the lower nodes or the tree is dragged manually vertically or horizontally (scroll bars appear) .
If the tree is scrolled and the checkbox of any visible node is clicked, the OnClickShape event is not fired or is fired for the wrong node. However, if the node text is clicked then the event fires for the correct node.
So, what appears to be happening is that the target area to respond to mouse clicks for the OnClickShape event is incorrect after scrolling the tree.
Please advise a solution.
Roland.