Lingo Dictionary > S > scrollByLine |  |

scrollByLine

Syntax

    member(whichCastMember). scrollByLine(amount)
    scrollByLine member whichCastMember, amount

Description

Command; scrolls the specified field or text cast member up or down by the number of lines specified in `amount`. (Lines are defined as lines separated by carriage returns, not lines caused by wrapping.)

| When `amount` is positive, the field scrolls down.
| When `amount` is negative, the field scrolls up.

Example

This statement scrolls the field cast member Today's News down five lines:

    member("Today's News").scrollbyline(5)

Example

This statement scrolls the field cast member Today's News up five lines:

    scrollByLine member "Today's News", -1