Property/Method Invocation

The Object tree shows all objects the Inspector is viewing. It is here that you create objects, invoke methods and get/set properties.

In this example of part of an Internet Explorer Document object, we see properties , a method , and objects .

The Object tree is composed of object members that point to other objects. For example, the images property points to an IHTMLElementCollection object (shown expanded). The result of the GetEnumerator method is a list of objects.

Lists of objects are presented directly as lists, the details of the list implementation are not shown. You may create an object and insert it into the list by dragging the class to the list object. You may also cut/copy/paste objects between these lists.

A name is associated with each object based on the value of its properties. Here we can see that each HTMLImgClass object is named after the image file (redcurtain728x90.jpg for example).

You may cast any object to another type. This type is then used to display the object.



Parameters

The parameters panel appears when you select a method (the Navigate method of IE is shown here). You fill in the parameters and press the Invoke Method button. The panel is used also for indexed properties, like the Item property found in many classes.

As many ActiveX parameters are VARIANT type, the panel makes it easy to enter values. You can enter a literal value or select an existing object. In the TargetFrameName parameter, a string value is entered, yet a numeric value is entered for Flags.

The select object combo box is used to select any known existing object of the specified type.

Optional parameters are handled by assuming the object is "Missing.Value" unless you specify it.