Hello Jon,
Yes, you could use the CursorMouseMove event to accomplish the same thing with multiple cursors:
Private Sub CWGraph1_CursorMouseMove(Button As Integer, Shift As Integer, XPos As Variant, YPos As Variant, CursorIndex As Integer, CursorPart As Long)
If ((Button And vbLeftButton) And (CursorPart = cwCursorCrosshair)) Then
CWGraph1.Cursors(CursorIndex + 1).SetPosition XPos, YPos
End If
End Sub
Note that now we're checking that the left mouse button is pressed and that the user has clicked on the crosshair part of the cursor before moving the cursor around. You'll have to have CWGraph1.TrackMode = cwGTrackAllEvents in order to get this to work. Also, the CursorIndex is zero-based, and the CWGraph's cursor colle
ction is one-based, which is why the CursorIndex+1 statement is in the code I listed above.
My code here is Visual Basic, but I hope this works the same for you. However I don't have access to a copy of Borland C++ Builder to try this out.
David Mc.
NI Applications Engineer