Important: The information in this document is obsolete and should not be used for new development.
TEScroll
TheTEScrollprocedure scrolls the text within the view rectangle of the specified edit record by the designated number of pixels.
PROCEDURE TEScroll (dh,dv: Integer; hTE: TEHandle);
dh- The distance in pixels that the text is to be scrolled horizontally. A positive value moves the text to the right; a negative value moves the text to
the left.dv- The distance in pixels that the text is to be scrolled vertically. A positive value moves the text down; a negative value moves the text up.
hTE- A handle to the edit record whose text is to be scrolled.
DESCRIPTION
TheTEScrollprocedure updates the text on the screen automatically to reflect the new scroll position. The destination rectangle is offset by the amount scrolled. TheTEScrollandTEPinScrollprocedures behave the same, except thatTEPinScrollstops scrolling when the last line of text is scrolled into view.