Share via


Class Browser Buttons

When the Class Browser is open, a toolbar with a single button is also open. You can choose this Edit ParentClass Method button when you are editing method code. If there is code associated with the method in the parent class, the code is displayed in a separate window so you can see the functionality you can inherit or override.

The following buttons are displayed in the Class Browser Window.

  • Component Gallery
    Toggles between the Class Browser and the Component Gallery for managing foundation class items.

  • Open
    Opens an existing class library (.vcx) file, creates new class library and type library files, or opens an existing form/form set (.scx) file.

  • View Additional File
    Adds an existing class library (.vcx) file or a form or form set (.scx) file to the class list, or creates a new class library file. Right-click to list the most recent files opened in the Class Browser.

  • View Class Code
    Displays the code for the class definitions of the selected class. In Visual FoxPro, this code is editable and can be saved to a new program file from the File menu. You cannot change the underlying class.

  • Find
    Searches for specific text in class names, class descriptions, member names, and member descriptions.

  • New Class
    Creates a subclass of the selected class or any existing class.

  • Rename
    Changes the name of the selected class, property, or method.

    **Caution   **Renaming a class might invalidate forms or classes that are not currently displayed in Class Browser windows and that rely on the class. Changing the name of a property or method can cause code that references the property or method to fail.

  • Redefine
    Changes the parent class of the selected class.

  • Clean Up Class Library
    Runs the PACK command to remove records in the .vcx file marked for deletion.

See Also

Adding Controls to Forms with the Class Browser | Browsing Classes with the Class Browser | Class Browser Methods | Class Browser Properties | Class Browser Window | Managing Classes with the Class Browser | Viewing Class Definition Code | PACK | Component Gallery