Drag canvas in mousecursor

Hello,
I am trying to drag a canvas on a window and for that I pass the picture of the canvas in a cursor, it works well but the cursor only appears when I release the mouse button. I would have liked the cursor to change as soon as I click on the canvas. How could we do that?
Thank you for your help.
BB

Change the cursor in Mousedown instead.

Hello Michel,
Thatā€™s I have done in the Event Handlers.
I tried it elsewhere with Return True but wihtout any success.

Thank you Michel,
By putting the code into the MouseDown of the Canvas itself it works fine.

1 Like