This property returns the object for the ActiveX control embedded in the containing
box itself. The methods and properties of this box are dependent on what type of
control was instantiated via the progid or classid.
function onPresented()
{
// Get the object box proxy that holds the ActiveX control.
var box = scene.getBoxById("myObjectBox");
var otherBox = scene.getBoxById("otherBox");
if (box && otherBox)
{
// NOTE: If you call connectObject, you MUST call disconnectObject
// to make sure you do not have any memory leaks.
// I have imported some JavaScript with the id "js_test".
otherBox.connectObject(box.control, "myFunc_", "js_test");
}
}
//*********************************************************
// The ActiveX control in the object box has an event called "Click"
function myFunc_Click()
{
}