Scroll Method
8.7C, PLBCMP GUI Only
The Scroll method moves the text vertically in a multiline EDITTEXT or 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 Numeric Variable that indicates the success or failure of the method.
action
Required. A decimal number or Numeric Variable that specifies the action to perform.
Flags Affected: EOS, OVER, ZERO
Note the following:
The {action} parameter must be one of the following:
|
Value |
Keyword |
Scrolls the text ... |
|
0 |
$LineUp |
up one line |
|
1 |
$LineDown |
down one line |
|
2 |
$PageUp |
up one page |
|
3 |
$PageDown |
down one page |
The result is zero (0) if the scroll fails.
If the value returned is zero, the ZERO condition flag is set.
The OVER and EOS Condition Flags are always cleared.
When using the PL/B Web Server, this method is not supported.
See Also: Method Syntax, EDITTEXT Methods, RICHEDITTEXT Methods
![]() |