Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Annotation Click Event Passed to AnnotationViewer as well

Last post 04 May 2007, 9:27 PM by Glenn. 1 replies.
Sort Posts: Previous Next
  •  02 May 2007, 11:53 AM 11938

    Annotation Click Event Passed to AnnotationViewer as well

    I have an RectangleAnnotation with an event handler attached to its click event - the issue is that when the event is raised it passed to the event handler as expected but the same event is also passed to any event handlers attached to the AnnotationViewer's click event as well. Is there any way to stop the event being passed down to the viewer? I am using DotAnnotate 4.0.
    Filed under: ,
  •  04 May 2007, 9:27 PM 11942 in reply to 11938

    Re: Annotation Click Event Passed to AnnotationViewer as well

    It's actually the other way around; the viewer's Click event is what triggers the annotation's Click event.  Annotations are not controls, they are just drawings, so they get all of the mouse events from the viewer.

    I guess the short answer would be no, there is no way to stop the viewer's events.


    Glenn Chittenden Jr.
    Atalasoft Development Team
View as RSS news feed in XML