EditBox

Default logical widget for entering and displaying data in a field in a DSP. It is rendered as a single-line text input control.

EditBox in Chrome
Active EditBox in Chrome browser

Widget Summary
Logical widget name: EditBox
Maps to physical widget: htmlinput of type text
Default definition: EditBox=htmlinput(html:type=text;detail=dblclick)
Supported triggers and properties: See htmlinput.
Use for:

Fields of any Uniface Data Type except Image.

Description

Uniface defines all component fields to which no widget type is attributed as EditBox. Similarly, if the widget for any component field is unavailable at runtime, for whatever reason, Uniface treats that field as an edit box.

If you need to represent multiple lines of text, use the TextArea widget for plain text or the RawHTML widget for HTML-encoded text.

Widget Property Restrictions

The following restrictions apply:

  • For the Text Alignment (style:text-align) property, the value justify is not supported.
  • For the Text Alignment (style:text-decoration) property, the value blink is not supported.

Related Topics