After you create classes, you can add or edit their descriptions using the Class Designer or Class Browser. By using the Class Browser, you do not need to open each class. You can also modify attributes for custom properties and methods.
To modify a class description
-
Open the class in the Class Designer.
For more information about opening classes, see How to: Modify Classes.
When the class opens in the Class Designer, the Class menu appears.
-
On the Class menu, choose Class Info.
-
In the Class Info dialog box, choose the Class tab.
-
Make changes to the description in the Description box.
-
When you are finished making changes, click OK.
To modify a class description without opening each class
-
Open the class library in the Class Browser.
For more information about opening class libraries, see How to: Open Class Libraries.
-
In the class list of the Class Browser, select the class you want to change the description for.
-
In bottom-left corner of the Class Browser, type the text for the class description.
If no member is selected in the member list of the Class Browser, the bottom-right corner of the Class Browser displays the class and timestamp information for the selected class.
Modifying Custom Property and Method Attributes
You can edit the attributes, such as the visibility level and description, for custom properties and methods using the Visual FoxPro IDE, the Project Manager when the class is part of a project, or in the Class Browser.
Caution: |
---|
Use caution when editing attributes, such as the visibility level, for custom properties and methods. Changes you make might affect code that references those properties and methods. |
To modify attributes for a custom property or method
-
Open the class in the Class Designer.
For more information about opening classes, see How to: Modify Classes.
When the class opens in the Class Designer, the Class menu appears.
-
On the Class menu, choose Edit Property/Method.
-
When you are finished making changes, click Apply.
You can also right-click the property or method in the properties list of the Properties window and choose Edit Property/Method.
To modify attributes for a custom property and method without opening each class
-
Open the class library in the Class Browser.
For more information about opening class libraries,, see How to: Open Class Libraries.
-
In the member list of the Class Browser, select a method or property.
-
In the bottom-right corner of the Class Browser, type the text for the property or method description.
Note: |
---|
For member properties and methods, the bottom-right corner displays a description you can edit. However, for object members and instances of classes, the bottom-right corner displays read-only information for the class and base class of the object member, including the visibility level, member names, and property values. |