Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Cursor Move Event

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Event for IntensityGraph.

Generated when the user moves a cursor either by clicking and dragging the cursor or using the Cursor Movement Tool.

If the user selects and moves multiple cursors, a Cursor Move event is generated for each cursor. This event also is generated when a user enters a new value in the cursor legend. This event is useful if you want to register user changes and then adjust the functionality of the graph.

Example

Event Data Fields

NameDescription
SourceSource of the event.
0LabVIEW UI
1ActiveX
2.NET
25User Event
nOther
TypeType of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.
TimeValue of the millisecond timer when the event occurred.
CtlRefReference to the control on which the event occurred.
CursIdxIndex of the cursor that the user selected.
CursRefReference to the cursor that the user selected.
PlotIdxIndex of the plot for which the attribute changed.
PointIdxIndex of the point that the cursor is currently locked to.
CursLockThe way the cursor locks, such as free, single-plot, or multi-plot.

Example

Refer to the Graph Events VI in the labview\examples\general\graphs directory for an example of using the Cursor Move event.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit