HideGrayLine

Description

Shows or hides a gray line to indicate that a fixed page has been crossed when scrolling in a DataWindow with group headers.

Applies to

DataWindow control

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.HideGrayLine

Describe and Modify argument:

"DataWindow.HideGrayLine { = ' value ' }"

Parameter

Description

value

(exp) Whether a gray line displays in the Preview view and at runtime.

Values are:

  • Yes – The gray line is hidden.

  • No – The gray line displays (default).

Value can be a quoted DataWindow expression.

Usage

This property can be set in the open event for the window in which the DataWindow displays. Note that you cannot suppress the display of repeating group headers.


In the painter

Select the DataWindow object by deselecting all controls; then set the value in the Properties view, General tab. This option is enabled only for DataWindows with group headers.

Examples

Example 1

dw1.Object.DataWindow.HideGrayLine = yes