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

From Xojo Documentation

Revision as of 14:23, 11 February 2011 by Npalardy (talk | contribs) (Created page with '{{ConstructorBox | name=Constructor | owner=MouseCursor | ownertype=class | scope=public | parameters=mage as Picture, xHotSpot as Integer, yHotSpot as Integer | …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Constructor

MouseCursor.Constructor(mage 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.

NOTE: This new Constructor is not available to Mac OS X Carbon applications and will raise an OutOfMemoryException if used.