TextArea Object Properties

Add a text area to your form when you want to accept multiple lines of text from a user.

Property

Function

Id

Read-only. By default, automatically generated. Id="TextArea1" for the first inserted TextArea, Id="TextArea2" for the second, and so on.

Length

Read-only. Specifies the Length of the attribute associated with the TextArea object.

Name

Read-only. Specifies the name of the attribute associated with the TextArea.

Primitive

Read-only. Specifies the value of the Primitive property of the attribute associated with the TextArea object.

BackgroundColor

Specifies a background color for the object. Select a color from one of the tabs in the drop-down list. Note that you can specify a custom color. If you change this value, you can restore the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu.

Border Style

Specifies a style to control the border of the container that surrounds the object. Options are None, FixedSingle, or Fixed3D or UnderBar.

When the property is set to None, the selected control appears without a border.

When the property is set to FixedSingle, the selected control has a single line border.

When the property is set to Fixed3D, the border of the selected control has a three-dimensional appearance.

When the property is set to UnderBar, only the bottom line appears for the selected control. The other three border lines do not appear.

ControlType

Specifies TextArea as the type of object added to the form. To change the ControlType, choose from the list of available types.

Font

Specifies font attributes that are applied directly to the text appearing in the object. If you change this value, you can restore the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu.

ForegroundColor

Specifies a foreground color for the object. Select a color from one of the tabs in the drop-down list. Note that you can specify a custom color. If you change this value, you can restore to the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu.

Id

Read-only. Generated by the software.

Location

Specifies the point in pixels that represents the upper-left corner of the object relative to the upper-left corner of its container as an X and Y location.

ReadOnly

Specifies whether the content of the object is read-only.

Size

Specifies the size of the object representing the height and width in pixels.

TabIndex

Specifies the index that defines the tab order for the object.

TextAlign

Specifies whether the text in the object is left-aligned, right-aligned, center-aligned, or justified.

ToolTip

Specifies an optional tooltip to appear when the user at runtime hovers the mouse over a control in Winforms. To view the tooltip in the Presentation Client, the user has to hover over the control and press the F1 key. This tooltip is visible only at runtime.

Value

Specifies the value to be displayed in the field. This value is returned to the application when a transaction occurs at runtime.