ScrollCommand

                                    +-UP--------+
>>-anEditControl~ScrollCommand(--"--+-----------+--"--+----------------+--)-><
                                    +-LEFT------+     +-,--repetitions-+
                                    +-DOWN------+
                                    +-RIGHT-----+
                                    +-PAGEUP----+
                                    +-PAGELEFT--+
                                    +-PAGEDOWN--+
                                    +-PAGERIGHT-+


The ScrollCommand method scrolls the associated edit control in a given direction.

Arguments:

The arguments are:

command

Specifies the direction and the step size of the scroll command. Possible values are:

UP or LEFT

Scrolls up one line. UP is the default.

DOWN or RIGHT

Scrolls down one line.

PAGEUP or PAGELEFT

Scrolls up one page.

PAGEDOWN or PAGERIGHT

Scrolls down one page.

repetitions

The number of times the scroll command is to be issued. If this argument is omitted, the scroll command is issued once.

Example:

The following example scrolls down 3 lines in the edit control:

edit = MyDialog~GetEditControl("NAME")
if edit == .Nil then return
edit~ScrollCommand("DOWN",3)