Enable/disable displaying the text on more than one line.
Multiline As Integer
Setting the propert when the item is created:
Writing the value:
oFormItem.Multiline = 1;
Reading the value:
multi = oFormItem.Multiline;
0 (default) - Single-row text inputbox.
1 - Multi-row text inputbox. In this inputbox a new row can be created by the Enter key.
Property access for read and write
It is possible to write into this property only if the PmForm window has not been opened yet.
This property is also functional for Web Panels. It is not functional in InternetExplorer8 and lower.
oItem.Value = "Whitestreet 145\nNew York\nUSA"; //Characters "\n" create new rows.
For multi-row text over the whole area (i.e. no name displayed) see Example1
For multi-row static text note see Example