EDIT-GET-LINE-NUMBER Action

This document covers the following topics:


Description

Retrieves the number of lines in the Edit Area Control. This is also true if the STYLE attribute value has been set to value "w" (wordwrap).

Parameters

Name/Data Type Explanation
HANDLE OF EDITAREA Input

Specifies an Edit Area Control.

Line number (I4) Output

The number of lines.

Response (I4) Output

Natural error (if applicable).

Example:

  PROCESS GUI ACTION 
   EDIT-GET-LINE-NUMBER WITH #EA-1 
   #LINE-NUMBER GIVING 
   #RESPONSE 
   #IF-1.STRING:= #LINE-NUMBER