Modifying Class Icons and Descriptions
Using the Class Browser, you can modify the container icon, class description, and member descriptions for a class. You can also modify a class through the Class Designer from the Class Browser.
When you select a class in the Class Browser, the icon for the class appears above the class list. You can assign a different bitmap or icon to the class. By default, the class container icon and toolbar icon are the same as the parent's.
To change the class icon
- In the Class Browser, select the class with the icon you want to change.
- Right click the mouse to choose the Class Icon picture located above the class list.
- In the Open dialog box, select the new bitmap or icon, then choose OK.
- The new icon replaces the old one in the Class Browser. If the old class icon for the container and toolbar were the same, both change to the new icon. If they were different, only the container icon changes.
- You might see a prompt asking if you wish to reset the class library icon to the default, which is the icon Visual FoxPro uses for its base classes. If you want to change the icon to match its base class, choose Yes.
To change class and member descriptions without opening each class in the Class Designer, you can use the description boxes in the Class Browser.
To change the description for a class, method, or property
- In the Class Browser, select the class you want to change.
- In the edit box in the bottom-left corner of the window, type the new text for the class description.
- In the Members list, select a method or property.
- In the edit box in the bottom-right corner of the window, type the new text for the property description.
If no member is selected in the Members list, the edit box in the bottom-right corner of the window displays the class and timestamp information for the class selected in the Classes list.
**Note **You can change the descriptions for methods and properties. The descriptions for classes, object members, and instances are read-only.
If you want to modify more than the icon and descriptions for a class, you can open the Class Designer by selecting a class or file name in the Class Browser.
To modify a class in the Class Designer
In the Class list, double-click the name of a class to open the Class Designer.
-or-
In the Class list, double-click the name of a file, and then choose a class in the Open dialog box.
See Also
Browsing Classes with the Class Browser | Class Browser Buttons | Class Browser Window | Class Designer | Customizing the Class Browser | Filtering the Class Browser Class List | Managing Classes with the Class Browser | MODIFY CLASS Command | Viewing Class Definition Code | Viewing Class Hierarchies | Viewing Type Library Information