Multiline DataWindow object property
Description
(RichText presentation style) Whether the column or computed
field can contain multiple lines. Multiline is effective only when
Width.Autosize is set to No.
Controls
Column and Computed Field controls in the RichText presentation
style
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Multiline |
Describe and Modify argument:
1 |
"<span>controlname</span>.Multiline { = '<span> value </span>' }" |
Parameter |
Description |
---|---|
controlname |
The name of the column or computed field |
value |
(exp) Whether the
Value can be a quoted DataWindow expression. |
Usage
In the painter
Select the control and set the value in the Properties view, Input
Field or Compute tab, MultiLine option.
To display the property sheet, click the input field (column
or computed field) to select it. Then right-click and select Properties
from the pop-up menu.
Examples
1 |
string setting |
1 |
setting = dw1.Object.emp_street2.Multiline |
1 |
dw1.Object.emp_street2.Multiline = true |
1 |
setting = dw1.Describe("emp_street2.Multiline") |
1 |
dw1.Modify("emp_street2.Multiline=yes") |