Mnemonics
'CURSOR' Control Cursor, Mouse Pointer
GUI Display or Character Display
 
Formats 1. Cursor ON (Default): 'CURSOR' ("ON")
2. Hide Cursor: 'CURSOR' ("OFF")
3. Cursor in Replace Mode: 'CURSOR' ("REP")*
4. Cursor in Insert Mode: 'CURSOR' ("INS")
5. Change Mouse Pointer (GUI Only): 'CURSOR' ("num")
 
Where:
 
num Numeric code for graphic to use as mouse pointer. (Graphics display only.) Supported options include:
0 - Arrow 7 - Rabbit in hat
1 - Wait (Hourglass) 8 - Happy face
2 - I-Beam 9 - Sad face
3 - Movement arrows 10 - Resize vertical Up/Down arrow
4 - Sizing arrow 11 - Resize horizontal Left/Right arrow
5 - Hand 12 - Not allowed (diagonal line across circle)
6 - Hand in crossed circle ("No" hand)
 
Description Use the above formats to control cursor and mouse pointer displays.


*Note* The mouse pointer selected via the 'CURSOR' mnemonic may be overridden by settings in the INI file.


 
Example 0010 PRINT 'CS'
0020 CUR=1
0030 BUTTON 10,@(10,10,20,2)="CHANGE CURSOR"
0040 WHILE CTL<>4
0050 OBTAIN X
0060 IF CTL=10 THEN PRINT 'CURSOR'(CUR)
0070 IF CUR=12 THEN CUR=0 ELSE CUR++
0080 WEND
0090 PRINT 'CURSOR'(0)
0100 END