Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I save a class as MyNewClass?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00727460
Message ID:
00727464
Views:
12
Hi,

>I'd like to save an existing class MyClass as a new class MyNewClass and be able to manipulate it in the class browser.

if you want to have the class in the same library, you can simply drag the class to any another vcx in the project manager, rename it and copy it back to the original vcx by dragging again. Afterwards you can remove the class from the vcx, you have temporarily copied it to.

if you want to have the copied class in a new VCX, you can create a new vcx by simply clicking the New button in the project manager, provide any description, leave the parent class just like it is and provide your new VCX name. When the new class is shown in the class designer simply leave it without saving. As a result you'll have an empty VCX in the project manager. Now drag your class from the original VCX to the new VCX.

Afterwards, open the Class Browser and open the according VCX.

HTH,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform