Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Cursor changed event in waveform graph control

the CursorChanged event in waveform graph control fires on a lot of other events (e.g. if you move the mouse over a XYPoint annotation).
 
How can I get a reliable information if a cursor position has changed and which of the cursors has changed?
 
Regards
Andreas
0 Kudos
Message 1 of 3
(3,432 Views)

The CursorChanged event is derived from the Windows Forms Control base class. CursorChanged is raised when the value of the Control.Cursor property changes. The events that you're looking for are the graph's AfterMoveCursor and BeforeMoveCursor events. These events will give you the reference to the cursor that is moving in the graph's plot area and the x/y coordinates that the cursor is moving to.

- Elton

Message 2 of 3
(3,421 Views)
Thanks, Elton!!!
0 Kudos
Message 3 of 3
(3,418 Views)