Page 1 of 1

CursorTool (Silverlight)

Posted: Tue Feb 15, 2011 4:07 pm
by 15656694
Hello!

I am developing a project using Silverlight TChat component (version 4.1.2010.9282). I have several questions related to the CursorTool:
1. The cursortool moves slowly. When i move cursortool processor usage is about 100 percent on my pc (dual-core Intel CPU 3 GHz). I have attached example code. Using the properties FastCursor not help, since in this case the cursortool is not displayed.
2. How can I change the mouse cursor that displays while the mouse pointer is over cursortool? Now all the time is shown IBeam cursor and i can't change them like that:
cursorTool.Cursor = System.Windows.Input.Cursors.Hand;

Best Regards,
Ernst

Re: CursorTool (Silverlight)

Posted: Wed Feb 16, 2011 1:31 pm
by 10050769
Hello Ernst,
1. The cursortool moves slowly. When i move cursortool processor usage is about 100 percent on my pc (dual-core Intel CPU 3 GHz). I have attached example code. Using the properties FastCursor not help, since in this case the cursortool is not displayed.
It is a known problem for us and it is in wish-list with number [TW24015389] to consider inclusion it enhancement for next versions of TeeChartSilverlight.
2. How can I change the mouse cursor that displays while the mouse pointer is over cursortool? Now all the time is shown IBeam cursor and i can't change them like that:
cursorTool.Cursor = System.Windows.Input.Cursors.Hand;
You need have property FollowMouse True if you want change the mouse pointer is over cursortool as next lines of code:

Code: Select all

       cursorTool1.FollowMouse = true;
            cursorTool1.Style = Steema.TeeChart.Silverlight.Tools.CursorToolStyles.Horizontal;
            cursorTool1.OriginalCursor= System.Windows.Input.Cursors.Hand;
I hope will helps.

Thanks,