Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

ScatterGraph mouse cursor not updating

Hi to all,

I have a problem the mouse cursor in a ScatterGraph. Here is my MouseMode property code (in vb.Net). Case 1 and 2 are custom actions. Case 3 and 4 are Pan and Zoom, inwhich case the cursor image updates automatically. But when I select ZoomMode and then go back to case 1 (the cursor should be displaying as a cross) it doesn't work.

 

  Public WriteOnly Property MyMouseMode() As Integer

    Set(ByVal value As Integer)

      grChart.Cursor = Cursors.Default

      grChart.InteractionModeDefault = GraphDefaultInteractionMode.None

      Select Case value

        Case 1

          grChart.Cursor = Cursors.Cross

        Case 2

          grChart.Cursor = Cursors.SizeNWSE

        Case 3

         grChart.InteractionModeDefault = GraphDefaultInteractionMode.PanXY

        Case 4

          grChart.InteractionModeDefault = GraphDefaultInteractionMode.ZoomXY

      End Select

    End Set

  End Property

Thanks for any help!

CD

0 Kudos
Message 1 of 1
(3,152 Views)