Properties Tab (Class Module Builder Dialog Box)

Displays and allows editing of the properties of the class module being added or edited.

Tab Options

Name

The name of the class module.

Based On

The existing class this class is to be based on. All existing classes are listed in this list box. If the class is to be based on an existing class, you select it with this text box. If this class is based on another class, all the properties, methods, and events shells are copied from the base class to this class; none of the code that has been added to the properties, events and methods shells of the base class is copied over.

Note   This copying of properties, methods, and events is done only when the class is created; there is no link maintained between the base class and this class, and if the base class is modified after this class is created, the modifications will not be reflected in this class.

Instancing

Determines how an external application can create an instance of the class module. Other classes in the project containing this class module can always create an instance of this class.

Note   Only available if the active project is an ActiveX exe or dll.

This class is a top level object

Checking this option box makes this class module a top-level (root) object.