Difference between revisions of "Multi Line Text Field"

From SAP Enable Now Wiki
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
==Purpose==
 
==Purpose==
The [[Control]] for an '''[[Input Text (macro)|Input Text]]''' macro is treated as a single line. If the user types more text than can be visibly seen into the text box, the text scrolls horizontally. If the '''Multi Line Text Field'''  property is selected, then the field is treated as a ''text box'', and multiple lines of text can be entered, with the user's input wrapping within the bounds of the control.
+
The [[Control]] for an '''[[Input Text (macro)|Input Text]]''' macro is treated as a single line. If the user types more text than can be visibly seen into the text box, the text scrolls horizontally. If the '''Multi Line Text Field'''  property is selected, then the field is treated as a ''text box'', and multiple lines of text can be entered, with the user's input wrapping within the bounds of the control. Assuming the '''[[Confirm with Enter]]''' property is not selected, the user can also press Enter to start a new line - although there is no way to indicate this in the '''[[Input Text (property)|Input Text]]''' property so you need to add suitable instructions into the '''[[Practice Text]]'''.
 +
 
 +
A side-effect of using a '''Multi Line Text Field''' is that text entered into it will be vertically aligned to the top of the control, whereas for a regular text field the entered text will be centered vertically. This is therefore a useful option to use for 'oversize' single-line text fields where you just want to force vertical alignment to the top, because there is no separate property for vertical alignment.
  
 
[[Category:Property]]
 
[[Category:Property]]

Latest revision as of 09:42, 16 August 2019

Scope

Purpose

The Control for an Input Text macro is treated as a single line. If the user types more text than can be visibly seen into the text box, the text scrolls horizontally. If the Multi Line Text Field property is selected, then the field is treated as a text box, and multiple lines of text can be entered, with the user's input wrapping within the bounds of the control. Assuming the Confirm with Enter property is not selected, the user can also press Enter to start a new line - although there is no way to indicate this in the Input Text property so you need to add suitable instructions into the Practice Text.

A side-effect of using a Multi Line Text Field is that text entered into it will be vertically aligned to the top of the control, whereas for a regular text field the entered text will be centered vertically. This is therefore a useful option to use for 'oversize' single-line text fields where you just want to force vertical alignment to the top, because there is no separate property for vertical alignment.