Multiline Properties

Multiline Properties

String properties can have single line or multiline values. Multiline values are common with text properties that accept multiple lines, textual data and more.

Using the EditMulti control we can set a single line value using the same property syntax as before:

ACORN 1.0 IWML 1.0
Page[]
  SimpleStack[]
    Text Hello
    Text World
    EditMulti
      Width: 200
      Lines: One
    ]
  ]
]

This IWML is valid and functional. When we need to set more than one line for the value of the .Lines property, we can use the multiline syntax:

A multiline property is signified by a a property name followed by a colon at the end of line, and a ] closing statement.