Important: The information in this document is obsolete and should not be used for new development.
TEPinScroll
TheTEPinScroll
procedure scrolls the text within the view rectangle of the specified edit record by the designated number of pixels. Scrolling stops when the last line of text is scrolled into view.
PROCEDURE TEPinScroll (dh: Integer; 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
TheTEPinScroll
procedure updates the text on the screen automatically to reflect the new scroll position, as does theTEScroll
procedure. The destination rectangle is offset by the amount scrolled. When the edit record is longer than the text it contains,TEPinScroll
displays up to the last line of text inclusive, and not beyond it.