Ldsp methods – MagTek OMTD 99875144 User Manual

Page 29

Advertising
background image

Section 4. Control Objects


23

Property Name

Access

Type

Description

MarqueeUnitWait

R/W

LONG

Holds the wait time between marquee scrolling of each
column or row in the window. The wait time is the specified
number of milliseconds. (Note that the timer resolution may
reduce the precision of the wait time.)

Rows

R

LONG

Holds the number of rows for this window.


LDSP Methods

DisplayText(BSTR Data, LONG Attribute)

The characters in Data are processed beginning at the location specified by CursorRow and
CursorColumn, and continue in succeeding columns.

DisplayTextAt(LONG Row, LONG Column, BSTR Data, LONG Attribute)

The characters in Data are processed beginning at the window location specified by the Row and
Column parameters, and continuing in succeeding columns. This method has the same effect as
setting the CursorRow to Row, setting CursorColumn to Column, and calling the DisplayText
method.

ClearText()

Clears the current window to blanks, sets CursorRow and CursorColumn to zero, and
resynchronizes the beginning of the window with the start of the viewport.

ScrollText(LONG Direction, LONG Units)

Scrolls the current window.

SetDescriptor(LONG Descriptor, LONG Attribute)

Sets the state of one of the descriptors, which are small indicators with a fixed label.

ClearDescriptors()

Turns off all descriptors.

CreateWindow (LONG

ViewportRow, LONG ViewportColumn,

LONG

ViewportHeight,

LONG

ViewportWidth,

LONG

WindowHeight,

LONG

WindowWidth)

Advertising