Mouse Pointer (Cursor)
Image used when the mouse pointer is positioned over the widget. The default depends on the widget.
CursorName |
Representation |
Description |
---|---|---|
UAppStarting
|
Standard arrow and small hourglass |
|
UArrow
|
Standard arrow |
|
UCrosshair
|
Crosshair |
|
UHand
|
Hand |
|
UHelp
|
Arrow and question mark |
|
UIBeam
|
I-beam |
|
UNo
|
Slashed circle |
|
USizeAll
|
Four-pointed arrow pointing north, south, east, and west |
|
USizeNESW
|
Double-pointed arrow pointing northeast and southwest |
|
USizeNS
|
Double-pointed arrow pointing north and south |
|
USizeNWSE
|
Double-pointed arrow pointing northwest and southeast |
|
USizeWE
|
Double-pointed arrow pointing west and east |
|
UUpArrow
|
Vertical arrow |
|
UWait
|
Hourglass |
Description
Specifies the system cursor image to be used on mouse roll-over, that is, when the mouse pointer is positioned over the widget.
Setting in ProcScript
You can set the value of the
Cursor
property in ProcScript using the $properties or
$fieldproperties functions, for example:
$fieldproperties(EDITFIELD)="cursor=uarrow"
If you set the Cursor
property
with $properties, every occurrence of the field shows the same cursor. If you
set it with $fieldproperties, the cursor is shown only on the field in the
current occurrence.
To ensure that the desired occurrence is the current one, use setocc prior to $fieldproperties, for example during initialization (when retrieving data) or when the user performs an action (such as clicking a button). setocc does not switch the focus, so no triggers are fired, which could interfere with displaying mouse cursors.