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
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 window, Options category.
[Visual Basic] Dim ActType as String dw1.GetProperty("OLEReport.Activation") ActType = dw1.Describe("OLEReport.Activation") dw1.Modify("OLEReport.Activation='2'")
[C#] string ActType; dw1.GetProperty("OLEReport.Activation"); ActType = dw1.Describe("OLEReport.Activation"); dw1.Modify("OLEReport.Activation='2'");