This document covers the following topics:
Replaces text in an Edit Area Control or in an Input Field Control (from position to position).
Name/Data Type | Explanation |
---|---|
HANDLE OF EDITAREA or
INPUTFIELD |
Input
Specifies an Edit Area Control or an Input Field Control. |
Position-from (I4) | Input
Position of the first character to be replaced. If you specify "0" the text is appended to the text already present in the dialog element. |
Position-to (I4) | Input/Output
Position of the last character to be replaced. If you specify "0", the index of the last character in the dialog element will be returned. |
Text length (I4) | Input/Output
The number of characters to be inserted before
|
Text (A253) | Input
This text string replaces the old one. |
Response (I4) | Output
Natural error (if applicable). |
#POSITION-FROM := 8 #POSITION-TO := 24 #TEXT-LENGTH := 16 #TEXT := 'Insert this text' PROCESS GUI ACTION INPUT-SET-TEXT WITH #EA-1 #POSITION-FROM #POSITION-TO #TEXT-LENGTH #TEXT GIVING #RESPONSE