Share via


How to: Remove Properties and Methods from Classes

You can remove custom properties and methods from classes.

Warning

Use caution when removing properties and methods from classes. Changes you make affect code that references those properties and methods.

To remove a custom property or method

  1. 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.

  2. On the Class menu, choose Edit Property/Method.

  3. In the Property/Method Information list, select the property or method you want to remove, and click Remove.

See Also

Concepts

Classes in Visual FoxPro

Working with Classes in Visual FoxPro