Page 1 of 1

OnClickPointer and OnClickSeries problems in v 2010...

Posted: Tue Aug 03, 2010 12:41 pm
by 16556683
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

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

Posted: Thu Aug 05, 2010 11:30 am
by 16556683
Any comments from Steema? have you been able to replicate this issue? Any fix?

Best regards,

Steve

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

Posted: Thu Aug 05, 2010 3:44 pm
by yeray
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.

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

Posted: Thu Aug 05, 2010 5:45 pm
by 16556683
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

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

Posted: Thu Aug 05, 2010 7:50 pm
by yeray
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,...

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

Posted: Thu Aug 05, 2010 9:38 pm
by 16556683
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

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

Posted: Fri Aug 06, 2010 1:43 pm
by yeray
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)