This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20 R7
SET CURSOR
|
SET CURSOR {( cursor )} | ||||||||
Parameter | Type | Description | ||||||
cursor | Longint |
![]() |
Cursor resource number | |||||
The SET CURSOR command changes the mouse cursor to the system cursor whose ID number you pass in cursor.
This command must be called in the context of the On Mouse Move Form event code.
To restore the standard mouse cursor, call the command without any parameter.
Here are the cursors that can be passed in the cursor parameter:
Number | Cursor |
1 | ![]() |
2 | ![]() |
4 | ![]() |
9000 | ![]() |
9001 | ![]() |
9003 | ![]() |
9004 | ![]() |
9005 | ![]() |
9006 | ![]() |
9021 | ![]() |
351 | ![]() |
9010 | ![]() |
9011 | ![]() |
9013 | ![]() |
9014 | ![]() |
9015 | ![]() |
9016 | ![]() |
9017 | ![]() |
9019 | ![]() |
9020 | ![]() |
559 | ![]() |
560 | ![]() |
Note: Cursor availability and appearance may vary depending on the operating system.
You want the cursor to be displayed as a when the mouse moves over a variable area in the form. In the object method of the variable, you can write:
If(Form event code=On Mouse Move)
SET CURSOR(9019)
End if
Product: 4D
Theme: User Interface
Number:
469
Modified: 4D v11 SQL
4D Language Reference ( 4D v20 R7)