ShowDefinition

Description

Whether the DataWindow definition will display. The DataWindow will display the column names instead of data.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.ShowDefinition

Describe and Modify argument:

"DataWindow.ShowDefinition { = ' value ' }"

Parameter

Description

value

(exp) Whether the column names will display.

Values are:

  • Yes – Display the column names.

  • No – Do not display the data, if any.

Value can be a quoted DataWindow expression.

Examples

Example 1

string setting

setting = dw1.Object.DataWindow.ShowDefinition

dw1.Object.DataWindow.ShowDefinition = "Yes"

Example 2

setting = dw1.Describe("DataWindow.ShowDefinition")

dw1.Modify("DataWindow.ShowDefinition=Yes")