Page 1 of 1

Editing Annotation

Posted: Fri Aug 13, 2010 3:56 am
by 13051032
Is there a way to get out of annotation mode other than pressing F2 button. Its easy to get into editing mode on an annotation tool by simply double clicking on it, but it takes a F2 button to get out of the edit mode. Is there a way I can have event such as LostFocus or something similar to trigger edit completion?

Please help.

Re: Editing Annotation

Posted: Fri Aug 13, 2010 3:28 pm
by yeray
Hi asupriya,

Also the "Esc" key and the "Up"and "Down" arrow keys end the Annotation tool edition.
Anyway, you could add an event, for example OnMouseClick and call the annotation's EndEdit() method on it.