Oracle Forms supports both single-line and multi-line text items.
The Multi-line property (under the Functional node) determines whether a text item displays a single line of text or multiple lines of text. The number of characters that can fit on one line is determined by the width of the text item and the font assigned to the item. A multi-line text item stores multiple lines of text by wrapping text to the next line when the end of one line is reached.
Oracle Forms processes a carriage return in a single-line text item as a NEXT_ITEM event. A carriage return in a multi-line text item moves the cursor to the start of the next line.
Tip: Single-line text items use less memory than multi-line text items. Always use a single-line text item unless the application specifically requires multi-line functionality.
The following table shows the properties that are specific to either single- or multi-line text items:
Property |
Single-line |
Multi-line |
---|---|---|
Scroll Bar |
No |
Yes |
Wrap Style |
No |
Yes |
Secure |
Yes |
No |
Auto Skip |
Yes |
No |
Format Mask |
Yes |
No |