Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

custom cursor in OSR

Post Reply
yesilcimenahmet
Posts: 10
Joined: Wed Jul 08, 2020 1:25 pm

custom cursor in OSR

Post 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.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: custom cursor in OSR

Post 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.
yesilcimenahmet
Posts: 10
Joined: Wed Jul 08, 2020 1:25 pm

Re: custom cursor in OSR

Post 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.
yesilcimenahmet
Posts: 10
Joined: Wed Jul 08, 2020 1:25 pm

Re: custom cursor in OSR

Post by yesilcimenahmet »

thanks, I did.
Post Reply