This document covers the following topics:
Inserts a new line into an Edit Area Control.
Name/Data Type | Explanation |
---|---|
HANDLE OF EDITAREA | Input
Specifies an Edit Area Control. |
Line number (I4) | Input/Output
The new line will be inserted before this line. If you specify "0", the new line will be appended to the last line of the Edit Area Control . |
Line length (I4) | Input/Output
The number of characters to be inserted into the new line starting from the first character of "Line text". If you specify "0", an empty line will be inserted. If you specify "-1", the "Line text" string will be copied into the new line, trailing blanks will be removed and the number of copied characters will be returned. |
Line text (A253) | Input/Output
The text string of the line to be inserted. |
Response (I4) | Output
Natural error (if applicable). |
#LINE-NUMBER := 0 #LINE-LENGTH := 10 #LINE-TEXT := 'Hello!' PROCESS GUI ACTION EDIT-LINE-INSERT WITH #EA-1 #LINE-NUMBER #LINE-LENGTH #LINE-TEXT GIVING #RESPONSE