Viewing or Changing Object Properties

You can view the properties of modules and interface objects on your local workstation. For interface objects, you can re-set the OLE Interface Type from the properties window on the selected interface. Resetting the interface type (for example, form OLE automation server to ActiveX control) re-registers the interface.

Properties on a Module

To view the properties on a local module:

  1. In the Workstation Objects window, select a module.

  2. Choose View->Properties from the menu bar

    Or

    Choose Properties from the popup menu (right mouse click to get popup menu).

    (The keyboard shortcut to view properties on an object is Alt V P.)

    This brings up a read-only properties window on the selected module.

    Figure 3-6 Properties Window on a Module

    The properties window on a module indicates the module name and the full path name of the type library and type library source generated for a module.

  3. Click OK or Cancel to close the window.

See also help on the Properties Window.

Properties on an Interface: OLE Automation Server or ActiveX Control

To check or change the OLE interface type after you have registered an object on your workstation:

  1. In the Workstation Objects window, select the interface object.

  2. Choose View->Properties from the menu bar

    Or

    Choose Properties from the popup menu on the object (right mouse click to get popup menu).

    This brings up the properties window on the selected interface object.

    Figure 3-7 Properties Window on Interface Object

    The interface object properties window provides both a view of the interface object attributes and a place to set them. The Automation Server radio button indicates that the given interface object supports automation without visual capabilities. Objects with this type of automation interface are created using the Visual Basic CreateObject statement, or similar statements in other client tools. The ActiveX Control radio button indicates an ActiveX control, where an object is created by dragging the control onto the client form. Note that toggling the value of an OLE Interface Type radio button re-registers the selected interface object as an OLE interface of the new type. A confirmation window appears before the re-registration is done.

  3. Click on the desired object setting (Automation Server or ActiveX Control).

  4. Click OK to close the window and activate your changes. (You can also click Cancel to close the window without saving your changes.)

See also help on the Properties Window.