Page 1 of 1

custom cursor in OSR

Posted: Fri Jul 31, 2020 11:21 pm
by yesilcimenahmet
Hi,

How can I display my custom cursor in OSR? I have different cursor in my project but I can not display on OSR. I am aware that it shows standard system cursor.

Thanks.

Re: custom cursor in OSR

Posted: Sat Aug 01, 2020 7:40 am
by salvadordf
Hi,

The OSR demos use the TChromium.OnCursorChange event to set the panel cursor :
https://github.com/salvadordf/CEF4Delph ... r.pas#L413

If you need to show a custom cursor you will have to modify the code in that event.

Re: custom cursor in OSR

Posted: Sat Aug 01, 2020 10:03 pm
by yesilcimenahmet
I'm already using the OnCursorChange event. But the procedures here are valid for classic cursors. I need to show any cursor given by CSS, for example. This is provided without any problems in the browser. But I cannot show the cursors I have defined in OSR.

Re: custom cursor in OSR

Posted: Sat Aug 01, 2020 10:24 pm
by yesilcimenahmet
thanks, I did.