LineRemove

Description

(RichText presentation style only) Whether the line of text that contains the input field for the column or computed field is removed when the input field is empty. LineRemove is similar to the SlideUp property for controls in other presentation styles.

Applies to

Column and Computed Field controls in the RichText presentation style

Syntax

PowerBuilder dot notation:

dw_control.Object.controlname.LineRemove

Describe and Modify argument:

"controlname.LineRemove { = ' value ’ }"

Parameter

Description

controlname

The name of the column or computed field whose line of text you want removed when the input field is empty.

value

(exp) Whether the line of text is removed so that the rest of the text slides up when the input field for controlname is empty. Values are:

  • Yes – The line of text will be removed when the input field is empty.

  • No – The line of text will not be removed.

Value can be a quoted DataWindow expression.

Examples

Example 1

string setting

setting = dw1.Object.emp_street2.LineRemove

dw1.Object.emp_street2.LineRemove = true

Example 2

setting = dw1.Describe("emp_street2.LineRemove")

dw1.Modify("emp_street2.LineRemove=yes")