Control Descriptions: Text Field

Using the Text Field control, you can work with single lines of data on customized forms. In text fields, end users can input data, or you can display data from the host through screen bindings. During the screen recording process, unprotected host fields are converted into Text Field controls. These text fields are bound to the original host field that they were converted from. To learn how to control the default appearance of these converted elements see Controlling Application Appearance using Themes.

Presentation Designer text fields also offer configurable tooltips and a variety of ways to constrain input.

Text Field Properties

Property Description
Enable In Focus Color Enables the In Focus Color property.
Field Type Constrains what can be entered in the control by end users.

The Numeric Signed and the Numeric Shift types are for 5250 hosts only.

Hidden Text If set to True, users entering text into this control will see asterisks instead of the actual text they are typing.

This is commonly used for password-related fields.

In Focus Color The background color of the control when it has focus.
Input Length If the control is bound to a host field, this value will be determined by the input length of the bound host field.
Mask Use this property to create a pre-formatted text field that enforces certain rules at the character level.

For details, see Masking Text Field Controls.

Text Default text which will display in the control until a user changes it.

Common Properties

The following properties are also available:

Background, Border, Editable, Enabled, Font, Foreground, Horizontal Alignment, Input Length, Name, Opaque, Prefix, Screen Binding, Suffix, Tooltip, Width and Height, X and Y.

Related Topics
Bullet Control Descriptions
Bullet Masking Text Field Controls
Bullet Binding Controls to Host Fields
Bullet Adding Controls
  Attachmate