Specifies whether a field can scroll horizontally.
Note:
This property does not apply to Text Fields
that can expand to accommodate data or text.
Syntax
Reference_Syntax.hScrollPolicy = "auto | on | off"
Values
Type
|
Values
|
String
|
Single-line fields
scroll horizontally and multi-line fields scroll vertically (displaying
a vertical scroll bar when necessary).
Horizontal scroll
bars appear regardless of whether the text or data overflows the
boundaries of the field.
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").hScrollPolicy = "off";
FormCalc
TextField1.ui.#textEdit.hScrollPolicy = "off"
|
|
|