GetLine Method
8.7C, PLBCMP GUI Only
The GetLine method retrieves a single line of text from a multiline EDITTEXT or a RICHEDITTEXT object. The method uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. An EDITTEXT or RICHEDITTEXT object that is accessed.
return
Optional. A Character String Variable that receives the selected line.
line
Required. A Numeric Variable or decimal number that indicates the line that is retrieved.
Flags Affected: EOS, OVER, ZERO
Note the following:
If {return} is too small to contain value, the OVER condition flag is set.
The ZERO and EOS Condition Flags are always cleared.
Line numbers are one-based. A value of one specifies the topmost line.
The GETLINE method of a RICHEDITTEXT object returns a line with a trailing CR (0x0D) character. The data for the line is retrieved directly from the Windows operating system.
This method is not available when using the PL/B Web Server.
See Also: Method Syntax, EDITTEXT Methods, RICHEDITTEXT Methods
![]() |