RectangleTool MouseEvent issue

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
WD_Gordon
Newbie
Newbie
Posts: 49
Joined: Wed Jun 18, 2008 12:00 am

RectangleTool MouseEvent issue

Post by WD_Gordon » Thu Jan 22, 2009 4:33 pm

In the MouseEvent of thr RectangleTool if a user double-clicks the object, enabling edit in the annotation object, the dragging flag is also getting set as well and can cause the RectangleTool to relocate if the user ends the edit and moves the mouse.

I would suggest that if the user double-clicks then you cancel the drag operation as they might be editing the text.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Post by Sandra » Fri Jan 23, 2009 9:48 am

Hi WD_Gordon!
I reproduce your issue and I have added your request to the wish-list to be investigated but I think that is a bug report[TF02013776].

Thank.


Best Regards,
Sandra Pazos


Steema Support Central
http://support.steema.com

WD_Gordon
Newbie
Newbie
Posts: 49
Joined: Wed Jun 18, 2008 12:00 am

Post by WD_Gordon » Fri Jan 23, 2009 2:17 pm

Hi Sandra,

If this will help the following will fix the issue in your Annotation.cs class in the MouseEvent handler:

if (e.Clicks == 2)
{
iDrag = false; //Add this line to cancel dragging

Kevin

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Jan 23, 2009 2:28 pm

Hi Kevin,

Thanks you very much for your suggestion. I've added it to the bug description to be reviewed.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply