There are two types of cursors: graphics cursor and text cursor. The object type determines the cursor(s) associated with the object.
Object |
Cursor Type(s) |
key |
graphics and text |
graphical region |
graphics and text |
textual region |
text |
sense region |
none |
image region |
none |
dialog region |
none |
dialog box |
none |
dialog command |
none |
The cursors determine the position at which drawing statements will start. When an object is first defined, both cursors are positioned at the object's origin. This position is updated each time one of the object's drawing statements is executed.
When a graphical drawing statement is executed, ESL first sets both cursors to the current position of the graphics cursor, then moves both cursors together to the position specified by the graphical drawing statement.
Every object has its own cursor(s). The cursor(s) in one object is not affected by drawing statements for any other object.
Neither the graphics cursor nor the text cursor is visible on the screen. When a cursor position is marked in the following examples, it is provided for purposes of illustration only.