ScrollLines - DFBaseTextEdit
Scrolls control vertically for specified number of lines
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| iLines | integer | Number of lines to scroll |
Syntax
Procedure ScrollLines integer iLines
Call Example
Send ScrollLines iLines
Description
Scrolls control vertically for iLines number of lines.
If iLines is positive, control scrolls down. If iLines is negative, control scrolls up.
This method has no effect if control is not paged.
Sample
This sample scrolls control oTextEdit1 down 20 lines.
send ScrollLines of oTextEdit1 20
Sample
This sample scrolls control oTextEdit1 up 20 lines.
send ScrollLines of oTextEdit1 -20