Specifies whether a field can scroll vertically.
Note:
This property does not apply to Text Fields
that can expand to accommodate data or text.
Syntax
Reference_Syntax.vScrollPolicy = "auto | on | off"
Values
Type
|
Values
|
String
|
-
auto
(default)
-
Single-line fields scroll horizontally and multi-line fields
scroll vertically (displaying a vertical scroll bar when necessary).
-
on
-
Vertical scroll bars appear regardless of whether the text
or data overflows the boundaries of the field.
-
off
-
Restricts the user from entering characters in the field
beyond what can physically fit within the field width. Note that
this restriction does not apply to data with the field.
|
JavaScript
TextField1.resolveNode("ui.#textEdit").vScrollPolicy = "off";
FormCalc
TextField1.ui.#textEdit.vScrollPolicy = "off"
|
|
|