MULTILINE Property
PLBCMP GUI Only
The MULTILINE property defines the number of lines allowed in an EDITTEXT object or enables the multiline capability for a RICHEDITTEXT object. The property uses the following format:
MULTILINE[={value}]
Note the following:
MULTILINE may be used in CREATE, SETPROP, or GETPROP statements of an EDITTEXT or RICHEDITTEXT object.
For an EDITTEXT object, {value} specifies the maximum number of lines allowed.
Return keys are translated to the hex 7F character when the text is obtained using the GETITEM instruction.
Any hex 7F characters are translated to return keys when text is used by an INSERTITEM or SETITEM instruction.
If the number of lines specified fit into the user-defined area, scroll bars are not provided. Otherwise, a vertical scroll bar is created for the object.
If the MULTILINE property specifies a value, the value is the maximum number of return keys allowed in the EDITTEXT object. The maximum is set to 32,000 if no value is given.
For RICHEDITTEXT objects, {value} is one of the following:
|
Value |
Keyword |
Multiple line support is ... |
|
0 |
$OFF |
disabled. (default) |
|
1 |
$ON |
enabled. |
If an EDITEXT is created using a non-null CUETEXT property string value, the EDITTEXT object is always created as a single line EDITTEXT and the MULTILINE property does not take affect.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |