System.Cursors

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Read-Only Property (As MouseCursor )
MouseCursorValue = aSystem.Cursors

Supported on Desktop.

Provides access to the cursors in the Cursors module.

Notes

Use these cursors to change the current mouse pointer to any of the standard cursor shapes.

fa-info-circle-32.png
Cursors is only supported for Desktop projects.

Example

The following line in the MouseDown event of a Canvas changes the cursor to the HandClosed cursor. Returning True allows the MouseUp event to be called.

Me.MouseCursor = System.Cursors.HandOpen
Return True

See Also

Cursors module; MouseCursor class.