beautypg.com

Avery Dennison 6035 Programmer Manual Rev.CA 6/01 User Manual

Page 149

background image

4-108 Programmer’s Manual

v i d S c r o l l

Description

Does either of the following to the current display page:

Sets the display to ASCII space characters in either normal
or reverse video.

Scrolls the specified window up or down by a specified
number of lines. The application loses any text that scrolls
beyond the window’s top or bottom. New lines contain ASCII
blank characters with the specified attribute.

The specified window is the entire display or part of it.

Syntax

void far vidScroll(short sTop,

short sLeft,

short sBottom,

short sRight,

short sNumber,

unsigned char uchAttr);

Parameters

sTop

The window’s top row. For 4-row/33-key printers,
values are 0-3. For 8-row/48-key printers, values are
0-7.

sLeft

The window’s left-most column. Values are 0-19.

sBottom

The window’s bottom row. For 4-row/33-key printers,
values are 0-3. For 8-row/48-key printers, values are
0-7.

sRight

The window’s right-most column. Values are 0-19.

sNumber The action. If you enter 0, the function clears the

entire display. If you enter a positive number, the
window scrolls up that many lines. If you enter a
negative number, the window scrolls down that many
lines.