Enabled Property

Measurement Studio User Interface

Enabled Property

Syntax

CWAnnotation.Enabled

Data Type

Boolean

Purpose

Specifies if the CWAnnotation generates mouse events or if you can drag the annotation.

Remarks

By default, the Enabled property is set to True.

If a user clicks on a disabled annotation, the annotation does not respond. Other annotations, cursors, plots, or the plot area can still generate an event.

You must set the CWGraph.TrackMode property to cwGTrackDragAnnotation before you can drag an annotation with your cursor.

See Also

CWGraph.TrackMode