Change cursor on mouse over maker

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Arction_LasseP

lokesh
Posts: 45
Joined: Tue Feb 14, 2017 8:48 am

Change cursor on mouse over maker

Post by lokesh » Wed Mar 08, 2017 7:23 pm

Hi,
I tried to set the cursor to HSplit on mouse over SeriesEventMarker using MouseOverOn event. And it does set the cursor to HSplit on mouse over "on", but for some reason reset it back to the default cursor when I move the cursor further towards the centre of the marker. Is there some property that I am not setting properly?
I was expecting the cursor to be HSplit when mouse is over marker and which I was planning to reset in MouseOverOff handler.

Thanks.

Regards,
Lokesh

ArctionKestutis
Posts: 386
Joined: Mon Mar 14, 2016 9:22 am

Re: Change cursor on mouse over maker

Post by ArctionKestutis » Thu Mar 09, 2017 2:01 pm

Hi Lokesh,

Please set AllowInternalMouseCursorChange to false, otherwise cursor will be internally overwritten.

Code: Select all

_chart.Options.AllowInternalMouseCursorChange = false;
_chart.Cursor = MouseCursors.HSplit;
All the best,
Kestutis