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.
OLE Object controls
PowerBuilder dot notation:
dw_control.Object.olecontrolname.Activation
Describe and Modify argument:
"olecontrolname.Activation { = ' activationtype ' }"
Parameter |
Description |
---|---|
olecontrolname |
The name of the OLE Object control for which you want to get or set the activation method. |
activationtype |
(exp) A number specifying the method of activation for the OLE object. Activationtype can be a quoted DataWindow expression. Values are:
|
Select the control and set the value in the Properties view, Options tab.
dw1.Object.ole_report.Activation ls_data = dw1.Describe("ole_report.Activation") dw1.Modify("ole_report.Activation='2'")