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.
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
- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: custom cursor in OSR
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.
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.
-
- Posts: 10
- Joined: Wed Jul 08, 2020 1:25 pm
Re: custom cursor in OSR
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.
-
- Posts: 10
- Joined: Wed Jul 08, 2020 1:25 pm
Re: custom cursor in OSR
thanks, I did.