Syntax.Modified

Description

Whether the DataWindow syntax has been modified by a function call or user intervention. Calling the Modify, SetSort, or SetFilter method or changing the size of the DataWindow grid automatically sets Syntax.Modified to Yes.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.Syntax.Modified

Describe and Modify argument:

"DataWindow.Syntax.Modified { = value }"

Parameter

Description

value

Whether the DataWindow syntax has been modified.

Values are:

  • Yes -- DataWindow syntax has been modified.

  • No -- DataWindow has not been modified.


Usage

Use this property in Modify to set Syntax.Modified to No after you cause a change in the syntax that does not affect the user (such as setting preview on).

Examples

string setting
setting = dw1.Object.DataWindow.Syntax.Modified
dw1.Object.DataWindow.Syntax.Modified = "No"
setting = dw1.Describe("DataWindow.Syntax.Modified")
dw1.Modify("DataWindow.Syntax.Modified=No")