Maptitude GISDK Help |
Gets the COM interface of a COM control window.
Added to Version 5.0.
string = GetCOMControlObject(string name)
Argument |
Contents |
name |
The name of the COM control window |
A COMObject.
If name is null returns the interface for the control in the current window, or an error if the current window is not a COM control window.
name = CreateCOMControl("My Control", "Shell.Explorer", {
{"Event Macro", "Explorer Event Macro"}})
explorer_object = GetCOMControlObject(name)
explorer_object.Navigate("http://www.caliper.com")
Error Type |
Meaning |
NotFound |
A COM window was not found by that name |
Function |
Summary |
Closes the window containing the COM control |
|
Creates a new COM control window |
|
Gets the COM objects in a COM collection |
|
Gets the currently active instance of a COMObject |
|
Gets the name of the COM interface for an object from the type library |
©2025 Caliper Corporation | www.caliper.com |