skip to main content

Controls Reference : ENTRY-FIELD : Properties : Cursor-Row

Cursor-Row
This property sets or retrieves the vertical cursor position inside a multi line entry-field.
When used to set the cursor position, it must be set in conjuction with Cursor-Col.
 
Example - Get the column and row position of the cursor on a multiline entry-field control
working-storage section.
77 ws-cur-col   pic 9(3).
77 ws-cur-row   pic 9(3).
screen section.
  03 screen-1-ef-4 Entry-Field
     line 40.6
     column 47.5
     size 16.2 cells 
     lines 12.3 cells 
     multiline
procedure division.
   inquire screen-1-ef-4 cursor-col ws-cur-col cursor-row ws-cur-row

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left