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:
00526343
Views:
20
This message has been marked as the solution to the initial question of the thread.
>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

You must hold the CTRL key down before you click on the Icon to copy it. If you click on the icon first and then hold the Ctrl key, it won't be copied, it will be moved.

You can also do it programmtically:

add class MyClass of MySourceClassLib to MyTargetClassLib

This is what the Class Browser does under the hood. If you move it, a Remove Class is then performed.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform