Page 1 of 1

RectangleTool MouseEvent issue

Posted: Thu Jan 22, 2009 4:33 pm
by 14049416
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.

Posted: Fri Jan 23, 2009 9:48 am
by 10050769
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

Posted: Fri Jan 23, 2009 2:17 pm
by 14049416
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

Posted: Fri Jan 23, 2009 2:28 pm
by narcis
Hi Kevin,

Thanks you very much for your suggestion. I've added it to the bug description to be reviewed.