WebStyle.Cursors

From Xojo Documentation

Revision as of 20:30, 3 June 2020 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Enumeration
[[WebStyle]].Cursors

New in 2020r1

The available cursors that can be displayed when the user hovers over the object to which the WebStyle is assigned.

Notes

The default cursor is Inherit which means that the cursor will be the same as the cursor of the cursor provided by the WebStyle of the current control's parent control. For example, If a WebStyle uses CrossHair and is assigned to a WebTabPanel, any controls parents to the WebTabPanel will by default also have a CrossHair cursor unless they have a WebStyle assigned to them that uses a different cursor.

Values

Enum
CrossHair
Default
Help
Inherit
Move
NoDrop
None
NotAllowed
Pointer
Progress
ResizeColumn
ResizeEast
ResizeNorth
ResizeNorthEast
ResizeNorthWest
ResizeRow
ResizeSouth
ResizeSouthEast
ResizeSouthWest
ResizeWest
Text
VerticalText
Wait

Sample Code

This example in the control's Opening event sets the cursor to Help:

Me.Style = WebStyle.Cursors.Help

Compatibility

Web projects on Linux, macOS and Windows operating systems.

See Also

Cursor property.