Important: The information in this document is obsolete and should not be used for new development.
TEScroll
TheTEScroll
procedure 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
TheTEScroll
procedure updates the text on the screen automatically to reflect the new scroll position. The destination rectangle is offset by the amount scrolled. TheTEScroll
andTEPinScroll
procedures behave the same, except thatTEPinScroll
stops scrolling when the last line of text is scrolled into view.