Mouse Cursor Flickering

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
lilo
Newbie
Newbie
Posts: 29
Joined: Thu Sep 30, 2010 12:00 am

Mouse Cursor Flickering

Post by lilo » Tue Jun 07, 2011 3:09 am

Mouse Cursor Flickering

I am setting the mouse cursor using the following code:

Private Sub TChart1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles TChart1.MouseMove
On Error GoTo Error1
If DrawBoxBool = True Or DrawEllipseBool = True Or DrawLineBool = True Or DrawTextBool = True Or DrawSymbolBool = True Then
TChart1.Cursor = Cursors.Cross
Else
TChart1.Cursor = Cursors.Default
End If
End Sub

The problem is the mouse cursor constantly flickers between the cross and default cursor.

I do not have any other reference to the cursor in my form code.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Mouse Cursor Flickering

Post by Sandra » Tue Jun 07, 2011 8:07 am

Hello lilo,

I understand your problem but I can't reproduce it here. Please can you send us simple project so we can reproduce exactly your problem?

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply