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.
Applies to
Column and Computed Field controls in the RichText presentation style
Syntax
PowerBuilder dot notation:
dw_control.Object.controlname.Multiline
Describe and Modify argument:
"controlname.Multiline { = ' value ' }"
Parameter |
Description |
---|---|
controlname |
The name of the column or computed field that will contain multiple lines. |
value |
(exp) Whether the input field can contain multiline lines. Values are:
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
string setting setting = dw1.Object.emp_street2.Multiline dw1.Object.emp_street2.Multiline = true setting = dw1.Describe("emp_street2.Multiline") dw1.Modify("emp_street2.Multiline=yes")