CursorChange Event

3D Graph Control

CursorChange Event

Syntax

Sub ControlName_CursorChange( CursorIndex As Long, XPosition As Double, YPosition As Double, ZPosition As Double, Tracking As Boolean)

Applies To

CWGraph3D

Purpose

Generates the CursorChange event when you reposition a cursor with the mouse.

Remarks

This event is generated only if CWGraph3D.TrackMode is cwG3DTrackZoomPanRotate or cwG3DTrackCursors.

Move a cursor by clicking on the center of the crosshair with the left mouse button and dragging.

Parameters

CursorIndex As Long

Contains the one-based index of the cursor generating the event.

XPosition As Double

Contains the X position of the cursor.

YPosition As Double

Contains the Y position of the cursor.

ZPosition As Double

Contains the Z position of the cursor.

Tracking As Boolean

Contains true if the mouse button was down when the event occurred.

See Also

Cursors

TrackMode