DrawLine Cursor

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
WD_Gordon
Newbie
Newbie
Posts: 49
Joined: Wed Jun 18, 2008 12:00 am

DrawLine Cursor

Post by WD_Gordon » Tue Oct 14, 2008 1:50 pm

It appears that you are changing the cursor in the DrawLine object when creating a line or moving a line. Is this something that was added? The problem I am having is after the user creates a line I set the Cursor to Default in the NewLine event but it remains a Cross. I have verified that the code is getting called, but it appears that your CheckCursor method is changing it back to a Cross.

Also when I hover over or move a line the cursor is set to Hand and not getting set back to Default.

Do you have any suggestions?

Thanks,
Kevin

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Oct 14, 2008 2:29 pm

Hi Kevin,

I'm not able to reproduce this here using latest TeeChart for .NET v3 release available at the client area. Could you please send us a simple example project we can run "as-is" to reproduce the problem here and let us know the TeeChart version you are using?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
Best Regards,
Narcís Calvet / 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

WD_Gordon
Newbie
Newbie
Posts: 49
Joined: Wed Jun 18, 2008 12:00 am

Post by WD_Gordon » Tue Oct 14, 2008 3:26 pm

Hi Narcís,

I was able to reproduce on 2 separate PCs. I have uploaded a sample to www.steema.net/upload.

The version of TeeChart that I'm using is 3.5.3188.18561.

Thanks,
Kevin

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Oct 15, 2008 10:19 am

Hi Kevin,

Thanks for the example project. Now I see which the exact problem is. When using a DrawLine tool, after drawing a line, the chart cursor turns into a hand and doesn't return to default's arrow. I think this is a bug (TF02013458) which I have added to the list to be fixed.
Best Regards,
Narcís Calvet / 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

WD_Gordon
Newbie
Newbie
Posts: 49
Joined: Wed Jun 18, 2008 12:00 am

Post by WD_Gordon » Wed Oct 15, 2008 1:23 pm

Hi Narcís,

That is correct. In fact, even if you change it back to the default pointer in code, if you pass your mouse cursor over the line you previously created you will see it gets changed to the hand again and remains as such.

Thanks,
Kevin

Post Reply