EDIT-LINE-GET-TEXT Action

This document covers the following topics:


Description

Retrieves text in a line of the Edit Area Control.

Parameters

Name/Data Type Explanation
HANDLE OF EDITAREA Input

Specifies an Edit Area Control.

Line number (I4) Input

The text is retrieved out of this line.

Column from (I4) Input

The text is retrieved from this column onwards.

Column to (I4) Input/Output

The text is retrieved up to this column. If you specify "0", the complete line is retrieved. The position immediately following the last character in the line will be returned (or 1, if the line is empty).

Line text (A253) Output

Returns the retrieved text string.

Split (L) Output

Indicates whether the total length of the requested text exceeds the actually retrieved line text string.

Response (I4) Output

Natural error (if applicable).

Example:

   #LINE-NUMBER := 1 
   #COLUMN-FROM := 1 
   #COLUMN-TO := 0 
   PROCESS GUI ACTION EDIT-LINE-GET-TEXT WITH #EA-1 #LINE-NUMBER #COLUMN-FROM 
   #COLUMN-TO #LINE-TEXT #SPLIT GIVING #RESPONSE