Edit Area Control Attributes Window

Start of instruction setAccessible Using

  1. Double-click on the edit area control; or

  2. if selected: "Control > Attributes" or by selecting 'Attributes...' from the control's context menu or

  3. if selected: ENTER.


Entries

Note:
For context-sensitive help on attribute entries, select the entry so it has the focus, and press F1.

Entry in Attributes Window Represents
Name Handle name of the edit area control (may be overwritten with another name).
Array... "Array" dialog box for defining an array of edit area controls.
String STRING attribute value.
... "Source" dialog box for determining sources of STRING attribute values.
Font Output field where the font currently selected is displayed.
... Dialog box for selecting fonts.
DIL Text DIL-TEXT attribute value (string).
... "Source" dialog box for determining sources of DIL-TEXT attribute values.
Context Menu CONTEXT-MENU attribute value. Specifies the context menu (if any) associated with the control.
Drop Mode DROP-MODE attribute value. Indicates whether the control can act as the target in a drag-drop operation and, if so, which types of drag-drop operation it supports.
State:  
Visible VISIBLE attribute value.
Enabled ENABLED attribute value.
Modifiable MODIFIABLE attribute value. If this entry is checked, the end user may edit the text.
RTL RTL attribute value. If this entry is checked, the dialog element direction is right-to-left.
Horizontal scroll bar HORIZ-SCROLLABLE attribute value.
Vertical scroll bar VERT-SCROLLABLE attribute value.
Help ID HELP-ID attribute value. You must use the help topic's .h file to map the numerical ID that you enter here to the corresponding help topic ID (created by a markup in the .hlp file).
Length

LENGTH attribute value. Specifies the maximum number of characters which can be entered into the edit area control.

Each line break consumes two characters (carriage return / line feed). This applies regardless of whether the line break was explicitly entered by the user or implicitly inserted due to word wrapping.

Style:  
Framed STYLE attribute value: creates a frame around the edit area control.
Wordwrapped STYLE attribute value: when text exceeds the width of the edit area control, it is automatically wrapped to the next line.

Note:
When you set the STYLE attribute value to "WORDWRAP", you cannot set the HORIZ-SCROLLABLE attribute value to "TRUE" and vice versa.

Autoscroll STYLE attribute value: Text is vertically scrollable and is automatically scrolled upwards when the ENTER key is pressed on the last displayed line.

Note:
This option only has an effect if the edit area control does not have a vertical scroll bar. Otherwise, the text is implicitly autoscrollable.

Rectangle: The following four attributes decide the edit area control's x and y axis position, its height and its width on the screen.

X - RECTANGLE-X attribute value.
Y - RECTANGLE-Y attribute value.
W - RECTANGLE-W attribute value.
H - RECTANGLE-H attribute value.

Foreground color:  
Selection box FOREGROUND-COLOUR-NAME attribute value.
... Dialog box for editing FOREGROUND-COLOUR-VALUE attribute value.
Background color:  
Selection box BACKGROUND-COLOUR-NAME attribute value.
... Dialog box for editing BACKGROUND-COLOUR-VALUE attribute value.
OK Save settings and exit the window.
Cancel Exit the window without saving the settings.
Help Provides online help on the attributes window.