LineScroll Method


8.7C, PLBCMP GUI Only

 

The LineScroll method moves the text in a multiline EDITTEXT or RICHEDITTEXT object. The method uses the following format:

 

 

[label]

{object}.LineScroll

[GIVING {return}] USING [*Chars=]{chars}:

 

 

 

[*Lines=]{lines}

 

Where:

label

Optional. A Program Execution Label.

object

Required. An EDITTEXT or RICHEDITTEXT object that is accessed.

return

Optional. A Numeric Variable that indicates type of EDITTEXT object accessed.

chars

Required. A decimal number or Numeric Variable that specifies the number of characters to scroll horizontally.

lines

Required. A decimal number or Numeric Variable that specifies the number of lines to scroll vertically.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. If the value returned is zero, the ZERO condition flag is set.

  2. The OVER and EOS Condition Flags are always cleared.

  3. A return value of zero (0) indicates a single-line EDITTEXT object.

  4. A return value of one (1) indicates a multiline EDITTEXT object.

  5. When using the PL/B Web Server, this method is not supported.

 

 

See Also: Method Syntax, EDITTEXT Methods, RICHEDITTEXT Methods

 



PL/B Language Reference LineLength Method LoadFile Method (RICHEDITTEXT)