4D v16.3

SET CURSOR

Home

 
4D v16.3
SET CURSOR

SET CURSOR 


 

SET CURSOR {( cursor )} 
Parameter Type   Description
cursor  Longint in 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.

To restore the standard mouse cursor, call the command without any parameter.

Here are the cursors that can be passed in the cursor parameter:

NumberCursor
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.

Example  

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=On Mouse Move)
    SET CURSOR(9019)
 End if

 
PROPERTIES 

Product: 4D
Theme: User Interface
Number: 469

 
HISTORY 

Modified: 4D v11 SQL

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)