Activation
property (DataWindow object)
Description
The way the server for the OLE object in the OLE Object control is
activated. Choices include letting the user activate the object by
double-clicking or putting activation under program control.
Applies to
OLE Object controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.olecontrolname.Activation |
Describe and Modify argument:
|
1 |
"olecontrolname.Activation { = ' activationtype ' }" |
|
Parameter |
Description |
|---|---|
|
olecontrolname |
The name of the OLE Object control for which you |
|
activationtype |
(exp) A number specifying the method of activation Values are: 0 — The object 1 — 2 — The object activates when the container |
Usage
In the painter
Select the control and set the value in the Properties view,
Options tab.
Examples
|
1 2 3 |
dw1.Object.ole_report.Activation ls_data = dw1.Describe("ole_report.Activation") dw1.Modify("ole_report.Activation='2'") |