OLE.Client.property

Description

Settings that some OLE server applications use to identify the client’s information. The property values can be used to construct the title of the server window.

Applies to

DataWindows

Syntax

PowerBuilder dot notation:

dw_control.Object.DataWindow.OLE.Client.property

Describe and Modify argument:

"DataWindow.OLE.Client.property { = ' value ' }"

Parameter

Description

property

An OLE client property, as shown in the table below.

value

Values for the properties are shown in the table below. Value cannot be a DataWindow expression.

Property for OLE.Client

Value

Class

The client class for the DataWindow. The default is DataWindow.

Name

The client name for the DataWindow. The default is Untitled.

Usage


In the painter

Select the control and set the value in the Properties view, Definition tab.

Examples

Example 1

ls_data = dw1.Object.DataWindow.OLE.Client.Class

dw1.Object.DataWindow.OLE.Client.Class = "PB"

Example 2

ls_data = dw1.Describe("DataWindow.OLE.Client.Class")

dw1.Modify("DataWindow.OLE.Client.Class = 'PB'")