ReadOnly

Description

Whether the DataWindow is read-only.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.ReadOnly

Describe and Modify argument:

"DataWindow.ReadOnly { = value }"

Parameter

Description

value

Whether the DataWindow is read-only.

Values are:

  • Yes – Make the DataWindow read-only.

  • No – (Default) Do not make the DataWindow read-only.

Examples

Example 1

string setting

setting = dw1.Object.DataWindow.ReadOnly

Example 2

dw1.Object.DataWindow.ReadOnly="Yes"

Example 3

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

Example 4

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