Compartir a través de


Class Browser Window

The Class Browser displays classes in class libraries or forms and type library information in a type library (.tlb), object library (.olb), or executable (.exe) file. You can use the Class Browser to view, use, and manage classes and their user-defined members. For more information, see Operating the Class Browser.

Note

You can open the Class Browser shortcut menu by right-clicking the Class Browser window or by pressing ALT+F10.

In Visual FoxPro 9.0, you can also display class definitions in program (.prg.) files. Many of the Class Browser features that are available for class libraries are available for program files. You can double-click on a method or event to edit the method or event code, and you can double-click on a property to display its value. You can also double-click a program class to modify its structure. Classes in program files can be viewed in hierarchical or non- hierarchical views, and you can filter protected and hidden members.

  • Class icon
    Displays an icon representing a selected class or class library. This icon appears next to the type box only when a class or class library is selected in the class list of the Class Browser. You can specify a different icon (.ico) or bitmap (.bmp) file for a class. For more information, see How to: Specify Design-Time Appearance for Classes.

  • Type box
    Allows selection or entry of a class type or character string to filter the move. The drop-down list shows the base classes. The list also keeps a history of class types and filters you have selected or entered for the current instance of the Class Browser.

Class Browser buttons

Performs various Class Browser commands. The Class Browser shortcut menu provides additional functionality. For more information, see Class Browser Buttons.

  • Class List
    Displays the classes and subclasses in an open class library (.vcx) file, a form (.scx), or program (.prg).

    Note

    A chevron (<<) appearing next to a class indicates that the parent class is located in a file that is not displayed in the class list.

  • Member list
    Displays members objects and any user-defined properties and methods of the class or form selected in the class list. You can filter this list by selecting one of the following options from the member list shortcut menu:

    • Protected filter   If a protected icon (a key) is displayed beside the Protected filter shortcut menu item, protected members are displayed in the member list. Protected members are also indicated by an asterisk (*).

    • Hidden filter   If a hidden icon (a lock) is displayed beside the Hidden filter shortcut menu item, hidden members are displayed in the member list. Hidden members are also indicated by a caret (^).

    • Empty filter   If a check mark is displayed beside the Empty filter shortcut menu item, empty methods are displayed in the member list. Empty methods are indicated by a tilde (~).

  • Class description box
    Displays a description for the selected class. This box is located at the bottom left of the Class Browser window. You can edit the description in this box.

  • Member description box
    Displays information about the selected member of a class. This box is located at the bottom right of the Class Browser window.

    Note

    For member objects, the box is read-only and displays class and base class information. For custom property or method members, the box displays a description you can edit. For instances of the class, the box displays a read-only description that includes the variable scope (public or hidden), member names, and property values.

See Also

Reference

Class Browser Methods

Class Browser Properties

Keyboard Shortcuts (Visual FoxPro)

Other Resources

Windows (Visual FoxPro)