RTNCSRLOC(*RECNAME|*WINDOW)
- Category
- Cursor
- Additional information
- Since a caret is often used in Web applications instead of a cursor, the
third optional parameter which returns the position of the cursor within a
field is supported as follows:
- output-only fields return a cursor position of 1 no matter where the user
clicks
- input-capable fields return:
- The integer 1 when the caret is before the first position
- The integer 1 through n when the caret
is to the right of the corresponding cursor position