RENAME CLASS Command

Example   See Also

Renames a class definition contained in a .VCX visual class library.

Syntax

RENAME CLASS ClassName1 OF ClassLibraryName TO ClassName2

Arguments

ClassName1

Specifies the name of the class definition that is renamed.

OF ClassLibraryName

Specifies the name of the .vcx visual class library containing the class definition to rename. If you don't specify a file extension in ClassLibraryName, Visual FoxPro automatically assigns a .vcx extension.

TO ClassName2

Specifies the new name of the class definition.

Remarks

Visual FoxPro does not update other class definitions within the visual class library that reference the renamed class definition — be careful when renaming class definitions.