Cursor Position

SET CURSOR function sets the position of the cursor. If the specified cursor position is on the second byte of a DBCS character, the cursor position will be adjusted to the first byte of the DBCS character and no error will be returned.

If the user puts the cursor on the second byte of a DBCS character and the second byte is on the leftmost column of the presentation space, the position will be adjusted to the next column on the right instead of adjusting to the first byte of the DBCS character (which is on the rightmost column of the previous row) so that the user may not lose sight of the cursor. In DBCS OS/2, SET CURSOR makes the same adjustment.


[Back: DBCS Considerations in General]
[Next: PS Position (at Copy Target)]