[This is preliminary documentation and subject to change.]
This is a regular edit field. The user can enter any string or integer. If the associated property is integer-valued it accepts only integer entries (not yet implemented). The length of the text that can be entered can be limited by putting a number from 0 to 2147483646 in curly braces at the beginning of the Text field in the Control Table. For example if the text field starts with {80}, the length of the string is limited at 80 characters. If no such limit is supplied in the table, or if 0 is specified,the length is set to the maximum possible (2147483646 characters). A negative or non-numeric value will generate an error.
The property associated with this control can be string or integer valued.
Enabled
Indirect
Integer
Sunken
Visible
Default
Enabled
Indirect
IndirectPropertyName
Position
PropertyName
PropertyValue
Text
Visible
WindowHandle
None.
Yes.
The control is created with the "EDIT" class with the WS_BORDER, WS_CHILD, WS_TABSTOP, WS_GROUP styles.
For compatibility with screenreaders, when authoring a dialog with an Edit control as the first active control, you must make the text field belonging to the edit field the first active control in the Dialog Table. Since the static text cannot take focus, when the dialog is created the edit field will have the focus initially as intended, but doing this ensures that screenreaders show the correct information.