Creating an Object Module

Object Modules are the containers for the object definitions that provide both the objects and the functionality available in a document.

Object Modules can be added directly under the Objects node in the Document Explorer, directly under any of the Library nodes or under any folder node in the Document Explorer tree. To add an Object Module in any of these locations:

  1. In the Document Explorer window, right-click any the appropriate parent node for the new Object Module.
  2. Select Add object module from the context menu.
  3. Name the new module and press the Enter key.

Object definitions are always created inside of a namespace. To insert a namespace:

  1. Right-click anywhere within the module and select Insert namespace from the context menu.
  2. Type the name of the namespace object.
  3. Select a namespace from the autocomplete popup window and press the Enter key.

An object module can contain multiple namespaces. To add an additional namespace to the same module, highlight the existing namespace and press the Enter key to insert a new namespace below the existing namespace, or press the Insert key to insert the new namespace above the existing namespace. Both options are also available by right-clicking the highlighted namespace and selecting the appropriate option from the context menu.