Cursor Grab? Event
Installed With: Full Development System
Class: WaveformGraph Events
Type: Filter
Generated when the user first clicks the cursor to move it. This event is useful if you want to register when a user interacts with a graph cursor, or if you want to disable user interaction with the graph cursors.
Event Data Fields
Name | Description | ||
---|---|---|---|
Source | Source of the event. LabVIEW UI refers to any built-in user interface event.
| ||
Type | Type of event that occurred, such as Mouse Down, Value Change, Timeout, and so on. | ||
Time | Value of the millisecond timer when the event occurred. | ||
CtlRef | Reference to the control on which the event occurred. | ||
CursIdx | Index of the cursor that the user selected. | ||
CursRef | Reference to the cursor that the user selected. | ||
PlotIdx | Index of the plot for which the attribute changed. | ||
PointIdx | Index of the point that the cursor is currently locked to. | ||
CursLock | The way the cursor locks, such as free, single-plot, or multi-plot. | ||
Discard? | Allows you to prevent LabVIEW from processing the event, bypassing the behavior normally triggered by that event. The default is FALSE. |
Example
Refer to the Graph Events VI in the labview\examples\general\graphs directory for an example of using the Cursor Grab? event.