Unwanted drag of shape when it is on the edges of the TTree

TeeTree VCL for Borland Delphi and C++ Builder.
tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Mon Feb 25, 2008 7:41 pm

weird... I update you as soon as possible

Ashu
Newbie
Newbie
Posts: 24
Joined: Mon Mar 08, 2004 5:00 am

Post by Ashu » Thu Mar 06, 2008 4:05 am

Hi Tom,

Is any solution in this regard.
I am waiting for the solution.

It is very critical for me to get this problem resolved.

Regards,
Pratik

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Mon Mar 10, 2008 3:37 pm

we will update you asap.

Did you received our source-demo regarding this issue?

We noticed some differences in your replies concerning the fix and our results. Because of this we wrote a source-demo to be sure that we're not testing is wrongly. But we haven't received a reply on this yet.

Anyway, there is indeed still a problem after the fix. :oops:

Ashu
Newbie
Newbie
Posts: 24
Joined: Mon Mar 08, 2004 5:00 am

Post by Ashu » Tue Mar 11, 2008 4:32 am

Hi Tom,

I receicved the main from your side last on Mon, 25 Feb 2008,
where you have given a code change. See below:

Code: Select all

Hi Pratik,

I managed to mimic the behavior (thanks for the Designing property tip)

Can you change the following code in TCustomTree.MouseMove event:

  if (P.X<>0) or (P.Y<>0) then // if moved...

to

if (X<>OriginalX) or (Y<>OriginalY) then

Does this solves your issue?

Thanks,
Tom.
After that I never got any mail or source code demo from your side.

Can you please send me the source code demo once again?

Regards,
Pratik

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Wed Mar 12, 2008 10:46 pm

I've resend you the source demo code. However, please try the executable first. It is an executable based on code changes in ttree. Let me know if you can still reproduce the wrong behavior. If so, please tell me how you achieved it.

Ashu
Newbie
Newbie
Posts: 24
Joined: Mon Mar 08, 2004 5:00 am

Post by Ashu » Thu Mar 13, 2008 4:56 am

Hi Tom,

I am not receiving any of your mails.
On which email id are you send those?

Make sure you are sending it on ts_pratik@rediffmail.com
This email Id is mentioned in my profile too.

Regards,
Pratik

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Thu Mar 13, 2008 5:13 pm

that's the email address to which I'm sending... spam filter?

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Thu Mar 13, 2008 10:03 pm

As test:
I've sent one mail without an attachment.
I've sent another one from a filetransfert service.

Regards,
tom

Ashu
Newbie
Newbie
Posts: 24
Joined: Mon Mar 08, 2004 5:00 am

Post by Ashu » Fri Mar 14, 2008 5:36 am

Hi Tom,

At last I got your last two mails. Thanks for your efforts taken.

I have tried the exe, This is what I wanted.
I could not reproduce the problem in this executable. :D

Can you please give me the code changes so that I can achieve this behavior?

Thanks & Regards,
Pratik

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Tue Mar 18, 2008 8:49 pm

I've send the modifications. Let me know if you received them.

Regards,
tom

Ashu
Newbie
Newbie
Posts: 24
Joined: Mon Mar 08, 2004 5:00 am

Post by Ashu » Wed Mar 19, 2008 4:22 am

Hi Tom,

I have received your mail.

I will check and get back to you.

Thanks & Regards,
Ashu

Ashu
Newbie
Newbie
Posts: 24
Joined: Mon Mar 08, 2004 5:00 am

Post by Ashu » Wed Mar 19, 2008 10:13 am

Hi Tom,

I have tried the code change...
everything works fine... i.e. I am not facing the mention issue.

But the problem is that the ScrollToView effect is now applicable for
vertical movement only...
i.e. if the shape is cutting Top/Bottom edges of the teetree then the scrolltoview works fine, but if it is cutting Right/Left edges then the scrolltoview does not work. :(

Regards,
Ashu

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Wed Mar 19, 2008 8:38 pm

:shock: I think you've hit the jackpot...

you found another bug :oops: (are you sure that autoscrolltoview worked before with right/left edges?)

and meanwhile there was another issue concerning this situation. I've send you the code changes.

Ashu
Newbie
Newbie
Posts: 24
Joined: Mon Mar 08, 2004 5:00 am

Post by Ashu » Thu Mar 20, 2008 5:20 am

Hi Tom,

It seems that the bugs are now fixed. :)

Thanks a lot for your efforts taken for resolving the problem.

Thanks & Regards,
Ashu

Post Reply