Invoke COM Object Dialog Box (Magic xpa 3.x)
The Invoke COM Object dialog box includes the following fields:
|
|
Object
|
Define the object on which you wish to perform the operation. Set the object variable letter code or zoom to variable selection list to select an OLE variable.
|
Option
|
Select the type of operation you wish to perform. The available options are:
-
Get Property returns a current setting of the object.
-
Set Property lets you change the value of one of the properties.
-
Invoke Method lets you run one of the subroutines in the object.
The boundaries between these are somewhat fluid: the designer of the object may have a method to set properties, and setting a property may be equivalent to invoking a method. But usually, when you look at the internal choices, it will be pretty clear what you need to do.
|
Method or Property
|
This field varies according to the selected option. For the Invoke Method option, this field enables you to select the method to be called. Zoom in from this field to browse through the supported methods of the selected object.
For Set Property and Get Property operations this field enables you to select the property to be handled. Zoom in from this field to browse through the available properties of the selected object.
|
Accessing Collection Items
How Do I Call a COM Object Method?
How Do I Set or Get a Property of a COM Object?