Chapter Contents

Previous

Next
Extended Text Entry: _vscroll

Extended Text Entry: _vscroll



Scrolls the extended text entry vertically by a specified number of units


Syntax
Details
See Also

Syntax

CALL NOTIFY (ext_text_name, '_vscroll', <unit,><num-units>);

Argument Type Description
unit C specifies the scrolling unit:


'PAGE' number of visible rows


'HALF' half the number of visible rows


'MAX' to the number of the maximum rows minus the visible number of rows. See _getMaxrow in this class.


'ROW' amount specified by num-units
num-units
N specifies the number of units to scroll


Details

If you call the _vscroll method from the INIT label, you must precede it with the _refresh method to update the display of the extended text entry.

_setText
| Set the first line to the value of string

_getText
| Get the value of the first line

_setLine
| Set the specified line to the value of string

_getLine
| Get the value of the specified line

_clear
| Set all lines to blank

_setMaxrow
| Set the maximum number of displayable rows

_getMaxrow
| Returns the maximum number of displayable rows

_setMaxcol
| Set the maximum number of displayable columns

_getMaxcol
| Returns the maximum number of displayable columns

_getCurrow
| Get the line number of the cursor position

_getCurcol
| Get the offset of the cursor position

_setValue
| Set each line for a list

_getValue
| Return each line in list.

_setFont
| Set the font of the extended text entry object

_setColor
| Set the color of the extended text entry object

_feedback
| Method is run for every character or enter key

_setMode
| Set the event feedback mode

_getMode
Returns the current event feedback mode

_getSelect
| Returns the corners of the marked text

_setSelect
| Sets the defined area as marked

_paste
| Pastes the current paste buffer into the object

_pasteText
| Pastes the contents of a string into the object

_pasteList
| Pastes the contents of the list into the object

_cursor
| Sets the current cursor location

_clearMarks
|Erases any existing marks

_setJustify
| Sets the current justifications style

_getVisrow
| Returns the number of currently visible rows

_getViscol
| Returns the number of currently visible columns

_getToprow
| Returns the line number of the first visible row

_setAutoflow
| Sets autoflow on or off

_getAutoflow
| Returns the current value for autoflow

_setCaps
| Sets caps on or off

_getCaps
|Returns the current value for caps

_snugFit
| Sets the snug fit option on or off

_hscroll
| Scrolls horizontally using current units and amount

_getHscroll
| Returns the current value for hscroll units and amount

_setHscroll
| Sets the hscroll units and amount

_vscroll
| Scrolls vertically using current units and amount

_getVscroll
Returns the current value for vscroll units and amount

_setVscroll
Sets the vscroll units and amount

_setToprow
Moves the specified row to the top of the viewport

_hscroll
Scrolls the extended text entry horizontally

_setHscroll
Assigns the unit by which an extended text entry can scroll horizontally

_getHscroll
Returns the horizontal scroll unit

_vscroll
| Scrolls the extended text entry vertically

_setVscroll
| Assigns the unit by which an extended text entry can scroll vertically

_getVscroll
| Returns the vertical scroll unit

_protect
| Sets one of two protection modes


See Also

_setVscroll and _getVscroll.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.