Skip to main content

Multiline Entry Field

  • February 29, 2012
  • 4 replies
  • 0 views

[Migrated content. Thread originally posted on 29 February 2012]

Hi :-)

Does anyone have an idea to how I can "read" on which line the cursor is placed in a multiline entry field ?

Thanks in advance :-)
Steen

4 replies

Stephen Hjerpe
  • Participating Frequently
  • 1100 replies
  • February 29, 2012

[Migrated content. Thread originally posted on 29 February 2012]

Hi :-)

Does anyone have an idea to how I can "read" on which line the cursor is placed in a multiline entry field ?

Thanks in advance :-)
Steen
entry-name, ENTRY-FIELD, USING MULTIPLY VAR-X
LINE 1, COLUMN 1, SIZE 100, LINES 20,
MAX-LINES=500, VSCROL-BAR, 3-D,
NO-AUTOSEL, USE-RETURN.

You can use the inquire to see which row and use inquire to see which column
inquire entry-name, cursor-row = var-row.
inquire entry-name, cursor-col = var-col.

  • Author
  • Rocketeer
  • 19312 replies
  • March 1, 2012

[Migrated content. Thread originally posted on 29 February 2012]

Hi :-)

Does anyone have an idea to how I can "read" on which line the cursor is placed in a multiline entry field ?

Thanks in advance :-)
Steen
Thanks a lot :-)

  • Author
  • Rocketeer
  • 19312 replies
  • March 1, 2012

[Migrated content. Thread originally posted on 29 February 2012]

Hi :-)

Does anyone have an idea to how I can "read" on which line the cursor is placed in a multiline entry field ?

Thanks in advance :-)
Steen
Thanks a lot :-)

  • Author
  • Rocketeer
  • 19312 replies
  • March 1, 2012

[Migrated content. Thread originally posted on 29 February 2012]

Hi :-)

Does anyone have an idea to how I can "read" on which line the cursor is placed in a multiline entry field ?

Thanks in advance :-)
Steen
Thanks a lot :-)