Multiline - property of the PmfTableColumn object
Description:
The property returns or sets displaying of multiline text in all cells of the table column.
If this property is not set, then it takes (inherits) its value from the
PmfTableArea.Multiline property.
Syntax:
Variant Multiline
Values:
0 - Displaying of multiline text is disabled.
The text will always be displayed on a single line, even if it contains the 'new line' ("\n") characters.
1 - Displaying of multiline text is enabled.
Text wrapping is controlled solely by newline characters. To display the text on multiple lines, the text of the cell must contain the character 'new line' ("\n") at the desired location.
If the text on a single line is longer than the cell width, the text will be truncated at the cell border, and the remaining part of the text on that line will not be displayed.
2 - Displaying of multiline text is enabled.
Text wrapping is controlled by newline characters ("\n") and the length of the text on the line. If the text on a single line is longer than the cell width, the text will automatically wrap at the nearest whole-word boundary and continue on the next line.
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.
Enable the multiline text preserves horizontal text alignment in the cells (see
HorzAlign).
Example1:
JavaScriptSelect and copy to clipboard
oCol.Multiline = 1;
// Writing into the property
var nMultiline = oCol.Multiline;
// Reading from the property
oCol.Multiline = "inherit";
// The property takes its value from the parent object
History:
Pm9.00.35: New value of the
Multiline property:
2.