Promotic
Login logon

Multiline - property of the PmfTableCell object

Description:
The property returns or sets the displaying of multiline text in the table cell.
If this property is not set, then it takes (inherits) its value from the PmfTableRow.Multiline property.
Syntax:
Variant Multiline
Values:
0 - Displaying the multiline text is disabled.
1 - Displaying the multiline text is enabled.
inherit (default) - The property takes its value from the parent object.
Note:
Property access for read and write.
 
This property is also functional in Web panels.
To display text on multiple rows, the cell text must contain a new row character 'new line' ("\n") at the desired location.
Enable the multiline text preserves horizontal text alignment in the cells (see HorzAlign).
See also:
Example1:
JavaScriptSelect and copy to clipboard

oCell.Multiline = 1;   // Writing into the property
var nMultiline = oCell.Multiline;   // Reading from the property
oCell.Multiline = "inherit";   // The property takes its value from the parent object

History:
Pm9.00.28: Created
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences