Page 1 of 1
DrawLine Cursor
Posted: Tue Oct 14, 2008 1:50 pm
by 14049416
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
Posted: Tue Oct 14, 2008 2:29 pm
by narcis
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.
Posted: Tue Oct 14, 2008 3:26 pm
by 14049416
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
Posted: Wed Oct 15, 2008 10:19 am
by narcis
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.
Posted: Wed Oct 15, 2008 1:23 pm
by 14049416
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