Important: The information in this document is obsolete and should not be used for new development.
TEAutoView
TheTEAutoView
procedure enables and disables automatic scrolling of the text in the specified edit record.
PROCEDURE TEAutoView (fAuto: Boolean; hTE: TEHandle);
fAuto
- A flag indicating whether to enable or disable automatic scrolling. A value of
TRUE
enables automatic scrolling. A value ofFALSE
disables automatic scrolling.hTE
- A handle to the edit record for which automatic scrolling is to be enabled or disabled.
DESCRIPTION
TheTEAutoView
procedure does not actually scroll the text automatically:TESelView
does. However, whenfAuto
is set toFALSE
, a call toTESelView
has no effect.If there is a scroll bar associated with the edit record, your application must manage scrolling of it. You can replace the default click loop routine, which scrolls the text only, with a customized version that also updates the scroll bar.
You can also enable or disable automatic scrolling for an edit record through the
teFAutoScroll
feature of theTEFeatureFlag
function.SEE ALSO
For more information, see "TEFeatureFlag" on page 2-102.