AnnotationChange Event

Measurement Studio User Interface

AnnotationChange Event

Syntax

Sub ControlName_AnnotationChange( AnnotationIndex As Long, AnnotationPart As CWAnnotationParts, bTracking As Boolean)

Applies To

CWGraph

Purpose

Generates when you reposition an annotation with the mouse.

Remarks

This event is generated only when the TrackMode property is set to cwGTrackDragAnnotation.

Parameters

AnnotationIndex As Long

The index of the annotation (one-based).

AnnotationPart As CWAnnotationParts

Part of the annotation that was moved.

bTracking As Boolean

True if the mouse button was pressed when the event occurred.