RICHEDITTEXT
9.0B, PLBCMP GUI Only
The RICHEDITTEXT instruction provides an interface to the Windows rich edit text control. To define an RICHEDITTEXT, use one of the following statement formats:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Data Label.
%
Optional. Denotes the item as being GLOBAL.
arraysize
Required. An integer decimal constant, CONST variable, or EQUATEd value indicating the number of array items.
^
Optional. Denotes the item as being a POINTER.
target
Required. The name of a previously defined data item of the same type.
Flags Affected: NONE
Note the following:
A RICHEDITTEXT contains two items. The entire object is referenced as item number zero. Any selected text within the object field is referenced as item number one.
Items are accessible through the SETITEM or GETITEM instructions.
This object may optionally have a border, scroll bars, multiple lines, word wrap capability, and may be set to a read only state by various properties of the control.
RICHEDITTEXT objects support the clipboard functions of cut, copy, and paste. During paste operations, the data being passed to the object is verified for the EDITTYPE values of an INTEGER or DECIMAL. If the current data in the clipboard is not consistent with these types, the paste operation is not performed and a beep occurs.
Multi-dimension arrays are supported up to a maximum of fourteen dimensions.
The ^ denotes a Pointer Variable.
Although a RICHEDITTEXT may be defined as Global, it is DESTROYed during a CHAIN instruction.
This object is not available when using the PL/B Web Server.
See Also: Example Code, Object Definitions, Object Output Instructions
![]() |