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:

  1. MULTILINE may be used in CREATE, SETPROP, or GETPROP statements of an EDITTEXT or RICHEDITTEXT object.

  2. For an EDITTEXT object, {value} specifies the maximum number of lines allowed.

  3. Return keys are translated to the hex 7F character when the text is obtained using the GETITEM instruction.

  4. Any hex 7F characters are translated to return keys when text is used by an INSERTITEM or SETITEM instruction.

  5. 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.

  6. 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.

  7. For RICHEDITTEXT objects, {value} is one of the following:

  8.  

    Value

    Keyword

    Multiple line support is ...

    0

    $OFF

    disabled. (default)

    1

    $ON

    enabled.

     

  9. 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

 



PL/B Language Reference MULTICOLUMN Property MULTIROW Property