MouseCursor.Constructor(image as Picture, xHotSpot as Integer, yHotSpot as Integer)

From Xojo Documentation

Constructor


MouseCursor.Constructor(image as Picture, xHotSpot as Integer, yHotSpot as Integer)

Creates a new cursor using the passed image. The hot spots are the x, y coordinates that the operating system uses to track the cursor’s position. The upper-left corner of the cursor is position 0,0.

Example

This example creates a new cursor that uses an image that has been added to the Project.

Var c As New MouseCursor(EarthAmericas, 20, 20)