Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I copy a class from one classlib to another ?
Message
 
To
03/07/2001 11:42:54
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00526330
Message ID:
00526336
Views:
26
From the VFP 6 Help File
**********************************************************
Once you add a class library to a project, you can easily copy classes from one library to another or simply remove classes from libraries.

To copy a class from one library to another

Make sure both libraries are in a project (not necessarily the same project).


In the Project Manager, select the Classes tab.


Click the plus sign (+) to the left of the class library that the class is now in.


Drag the class from the original library and drop it in the new library.
Tip For convenience and speed, you might want to keep a class and all the subclasses based on it in one class library. If you have a class that contains elements from many different class libraries, these libraries must all be open, so it will take a little longer to initially load your class at run time and at design time.

To remove a class from a library

Select the class in the Project Manager and choose Remove.
-or-

Use the REMOVE CLASS command.

**********************************************************

Tommy
>Hi,
>
>I know how to move a class from one classlib to another using the class browser, but not how to copy it. I tried presing ctrl, shift, or alt while moving, hoping to see a little plus sign, but no cigar.
>
>TIA,
>
>Alex
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform