Memo
[Desktop Automation]
A memo is a multiline text field.
Properties
| Property | Read/write | Type | Description |
|---|---|---|---|
| caption | read/write | string | caption of the memo |
| captionwidth | read/write | number | width of the caption in pixels |
| captionwidthpercentage | Read/write | Number | Width of the caption in percentage |
| customcolor | read/write | string | Custom background color for the memo. Format is '$BBGGRR' |
| height | read/write | number | height of the memo in pixels |
| hint | read/write | string | Hint or tooltip for the memo |
| onchange | read/write | string | callback function for a change event |
| readonly | read/write | Boolean | Shall the memo be readonly? |
| text | read/write | string | text content of the memo |
| translate | read/write | Boolean | when true, caption must be a String Identifier |
| visible | read/write | Boolean | Shall the memo be visible? |
| enablescrollbars | read/write | Boolean | Enable or disable a memo's scrollbars |
Methods
| Name | Syntax | Description |
|---|---|---|
| addline | memo:addline(text:String) | Adds a text line to the memo field |
| scrolltoend | memo:scrolltoend() | Scroll to the end of the memo |
