Memo editor consists of input area which is predefined in design time and can be changed in runtime. Memo editor enables the end user to enter longer and multiline text. The editing is also much more pleasant due to editor’s customizable size.
The appearance and the behaviour of the Memo editor can be defined with its properties:
Property | Description |
---|---|
Width | Defines the default width of the memo editor. |
Height | Defines the default height of the memo editor. |
FormatString | Defines the format in which the text will be displayed. |
NullText | Defines the string that is displayed if the value of a field is missing or null. |
AllowNullInput | If property is set to True, null value can be entered in the editor. |
Example (MxSpace)
To see the implementation of a Memo editor in MxSpace application click Production -> Manage. Try to add new work order. When editing Note field a text control appears in predefined size.
To implement a Memo editor on a field
- Open appropriate adapter (WorkOrderAdapter) in Solution Explorer.
- Expand the desired field (Note) in the appropriate data source schema (WorkOrder).
- Click Editor node and select MemoEditor from a list of editors in the Available Editors section on the right.
- Set Width property to 50.
- Set Height property to 50.
- Set AllowNullInput property to True.
MxAdapter
Editors