The IDLitManipulator::RegisterCursor procedure method defines the appearance and name of a cursor associated with the manipulator.
Obj->[IDLitManipulator::]RegisterCursor, ArrCursor, Name [, /DEFAULT]
None
This must be a 16 element string array of 16 characters each that represents a window cursor. The array can consist of the "#" character, space and non-space characters, and optionally, a "$" character as follows:
See CREATE_CURSOR for more information on the structure of the cursor array.
A string value identifying the cursor.
| Note |
Set this keyword to specify this cursor as the default cursor for the manipulator. If no cursor is specified as the default cursor, then the standard arrow is used.
| Note |
The RegisterCursor method is typically called within the scope of a manipulator's initialization so that the cursor appears when the manipulator (my_manip) is activated. The following code defines the appearance of the manipulator cursor and sets it as the default.
; Define the default cursor for this manipulation.
strArray = [ $
' ', $
' ', $
' ', $
' ', $
' ', $
' .#. .#. ', $
' .#..........#. ', $
'.##############.', $
'###....$.....###', $
'.##############.', $
' .#..........#. ', $
' .#. .#. ', $
' ', $
' ', $
' ', $
' ']
; Register the new cursor with the manipulator.
my_manip->RegisterCursor, strArray, 'SCROLL', /DEFAULT
Introduced: 6.1