OnClickPointer and OnClickSeries problems in v 2010...

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

OnClickPointer and OnClickSeries problems in v 2010...

Post by Steve Maughan » Tue Aug 03, 2010 12:41 pm

I'm having problems with OnClickPointer. They may be the same issues as reported here (TV52014945) but since I'm only assigning OnMouseMove, OnMouseUp and OnClickSeries I thought I'd report them.

Take a look at the attached demo. In *all* of my apps I enable the user to click and drag the charts to adjust data. Needless to say this behavior is broken with the upgrade to VCL 2010. I guess I can cope with the new event but I think there are bugs as well. Compile and run the attached demo. Move the cursor close to the series and you will see OnClickPointer is fired even though the mouse does not click on the pointer. Click to release the dragging.

Now move the mouse over the connecting line of one of the series, click and drag it. Another point will move!! I can understand that the ValueIndex now return the index of the line but this still doesn't make sense.

I really hope this can fixed soon. As it is I may need to revert back to version 8 (which I don't want to) until these bugs are sorted out.

best regards,

Steve Maughan

P.S. A quick source code fix would be appreciated
Attachments
OnClickPointerProblem.zip
(10.17 KiB) Downloaded 554 times

Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

Re: OnClickPointer and OnClickSeries problems in v 2010...

Post by Steve Maughan » Thu Aug 05, 2010 11:30 am

Any comments from Steema? have you been able to replicate this issue? Any fix?

Best regards,

Steve

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: OnClickPointer and OnClickSeries problems in v 2010...

Post by Yeray » Thu Aug 05, 2010 3:44 pm

Hi Steve,

I'm not sure that this would be related to (TV52014945). I've reproduced it and added it to the defect list to be fixed in future releases (TV52015075).
I've seen that it happens when you change the line series, Cursor property. If you don't change it, the problem disappears.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

Re: OnClickPointer and OnClickSeries problems in v 2010...

Post by Steve Maughan » Thu Aug 05, 2010 5:45 pm

Hi Yeray,

Thanks for looking into this! And thanks for the tip re the cursor (although it seems like an odd connection). Is this a top priority bug? I do hope so, as it affects all of my apps.

Best regards,

Steve

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: OnClickPointer and OnClickSeries problems in v 2010...

Post by Yeray » Thu Aug 05, 2010 7:50 pm

Hi Steve,

I've incremented it's priority but note that the same could probably be achieved using OnMouseClick and checking manually (with clicked method) if any series has been clicked, if this is a point or a line segment,...
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Steve Maughan
Newbie
Newbie
Posts: 48
Joined: Tue Aug 03, 2010 12:00 am

Re: OnClickPointer and OnClickSeries problems in v 2010...

Post by Steve Maughan » Thu Aug 05, 2010 9:38 pm

Hi Yeray,

Thanks for the increment. Out of interest why was the MouseButton and ShiftState parameters not included in the OnClickPointer event, when they are included in the OnClickSeries?

Thanks again,

Steve

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: OnClickPointer and OnClickSeries problems in v 2010...

Post by Yeray » Fri Aug 06, 2010 1:43 pm

Hi Steve,

I'm not sure about why OnClickPointer hasn't Button and Shift arguments. I've added it to the wish list to be implemented in further releases (TV52015076)
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply