Multiline
property (DataWindow object)
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:
|
1 |
dw_control.Object.controlname.Multiline |
Describe and Modify argument:
|
1 |
"controlname.Multiline { = ' value ' }" |
|
Parameter |
Description |
|---|---|
|
controlname |
The name of the column or computed field that will |
|
value |
(exp) Whether the input field can contain multiline
Value can be a quoted DataWindow |
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 2 3 4 5 |
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") |