Web Connection User's Guide
Use the Multi-line Entry Field part to add a scrollable pane control that
collects multiple lines of text from the user. This part generates the
HTML element textarea.
To add a Multi-line Entry Field part, select the Web Form Parts Category (
), then the Multi-line Entry Field part (
). You can also add the part using the Add Part dialog and specifying
the class name, AbtHtmlMultiLineEdit.
The Multi-line Entry Field part has the following properties:
- columns
- Use the columns property to specify the width, in average
character widths, of the part.
- converter
- Use the converter property to specify the converter to use for
the part. A converter is an object that manages the conversion of other
objects to and from their display format for certain visual parts, such as a
Text part.
- eventHandlers
- Use the eventHandlers property to define any event handlers for
this part. Event handlers provide the ability to detect and react to
events that occur while an HtmlPage is loaded in a Web browser. An
example of an event handler is mouse over, where you can specify
when the mouse moves over an HTML element, something happens, usually a
JavaScript is executed..
- extraAttributes
- Use the extraAttributes property to specify any additional HTML
attributes that you want included in the HTML tagging generated by the
part. You can use this property to include HTML attributes that are not
directly supported by VisualAge.
- object
- Use the object property to specify the initial contents of the
entry field.
- partName
- In the Part name field, type the name you want to use to
describe the part. For non-visual parts, this text appears under the
icon for the part on the free-form surface.
The name of the part can consist of alphanumeric characters, and must be
unique from all other parts on the layout surface.
This field is optional. If you do not specify a part name, VisualAge
generates a unique name based on the class name of the part.
- rows
- Use the rows property to specify the height, in character rows,
of the part.
This attribute is equivalent to the rows attribute of
the HTML textarea element.
- wrap
- Use the wrap property to indicate how lines of text should be
treated when they extend beyond the right edge of the part. If you have
horizontal scroll bars displayed, this attribute has no effect. Valid
values include:
- Off
- Virtual
- Physical
- <Default> (browser default)
This attribute is equivalent to the wrap attribute of
the HTML textarea element.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]