Unwanted drag of shape when it is on the edges of the TTree
Unwanted drag of shape when it is on the edges of the TTree
Hi,
I am facing a very annoying problem with TTree.
I am using Delphi6 with TTree 2.
Whenever any shape is present on the edges of the TeeTree, then clicking on the shape drags the shape unnecessarily.
This also happens in your Demo applications.
Please let me know how to avoid that...
By the way, I do not want to disable the normal dragging of the shapes.
Please help me as I am stuck due to this.
Thanks in advance.
Regards,
Ashu
I am facing a very annoying problem with TTree.
I am using Delphi6 with TTree 2.
Whenever any shape is present on the edges of the TeeTree, then clicking on the shape drags the shape unnecessarily.
This also happens in your Demo applications.
Please let me know how to avoid that...
By the way, I do not want to disable the normal dragging of the shapes.
Please help me as I am stuck due to this.
Thanks in advance.
Regards,
Ashu
Is any one at Steema even looking at the Support Posts?
Is any one at Steema even looking at the Support Posts?
Hi,
First, our excuses for the late responses.
Could you clarify your problem in another way? What do you mean with automatically dragged? Do you mean the behavior that when a shape is partly shown, clicking on it moves the view so the shape is fully shown?
If this is what you mean, than you can disable it by setting the ScrollToView to False (Selected property) as in:
Regards,
Tom.
First, our excuses for the late responses.
Could you clarify your problem in another way? What do you mean with automatically dragged? Do you mean the behavior that when a shape is partly shown, clicking on it moves the view so the shape is fully shown?
If this is what you mean, than you can disable it by setting the ScrollToView to False (Selected property) as in:
Code: Select all
Tree1.Selected.ScrollToView := False
Tom.
Hi Tom,
Thanks for your reply.
I wanted the property ScrollToView := True;
So that when ever the shape is out of view the diagram view shift to make the shape visible in TeeTree.
I have sent you a .swf file on your mail id tom @ steema.com demonstrating the problem.
Please have a look at that.
Regards,
Ashu
Thanks for your reply.
I wanted the property ScrollToView := True;
So that when ever the shape is out of view the diagram view shift to make the shape visible in TeeTree.
I have sent you a .swf file on your mail id tom @ steema.com demonstrating the problem.
Please have a look at that.
Regards,
Ashu
By the way, the steps to reproduce the bug are as follows:
1. Make sure one of the shape is cutting the edges of the TeeTree ie it is not fully inside the view rect of the TeeTree.
2. Now click on the shape.
3. Click on the TeeTree background
4. Repeat steps 2 & 3
You will see that the shape is moving away from its original position.
Regards,
Ashu
1. Make sure one of the shape is cutting the edges of the TeeTree ie it is not fully inside the view rect of the TeeTree.
2. Now click on the shape.
3. Click on the TeeTree background
4. Repeat steps 2 & 3
You will see that the shape is moving away from its original position.
Regards,
Ashu
Hi Tom,
I am using the teeChart Pro Version 7.0 with teeTree v2.0.
Also I am facing the problem in all examples of teeTreeNew.exe.
By the way, I just observed, this happens only when the TeeTree.Designing is True.
Please have a look. I hope now you will be able to replicate the problem.
Thanks & Regards,
Pratik
I am using the teeChart Pro Version 7.0 with teeTree v2.0.
Also I am facing the problem in all examples of teeTreeNew.exe.
By the way, I just observed, this happens only when the TeeTree.Designing is True.
Please have a look. I hope now you will be able to replicate the problem.
Thanks & Regards,
Pratik