You are here: AxTools > CodeSMART 2007 for VB6 > Documentation > User's Guide > Code Builders > The Collection Class Builder
While browsing this page, why not start downloading the evaluation setup kit (direct download, no questions asked).

The Collection Class Builder

The Collection Class Builder assists you in creating user defined collections based on class objects.

To build a new collection class:

  1. Open the project where you want to insert a new collection object.
  2. Click New Collection Class on the Code Edit Tools toolbar or select the same entry in the CodeSMART main menu to display the New Collection Class dialog box (quick toolbar and menu references are available).
    Collection Class Builder
  3. Select an existing class or specify a new one as the collection's base class.
  4. Set the new collection class scope. Depending on the current project's type, invalid options are disabled.
  5. In the Details section you can specify if you want to implement a public item existence checker (Exists) function within the new collection class.
  6. Press Insert in order to add the collection class to the current project and then automatically close the dialog box, or Insert and New if you want to avoid the dialog being closed and continue creating a new collection class.
 Notes
  • If the specified base class doesn't exist in the current project then it will be created.
See also
Code Builders Overview
The Property Builder
The Method Builder
Switch Assignment Values
The SQL/Long String Builder

Back To Top

Copyright © 2008 AxTools - CodeSMART 2007 for VB6 - Code Builders