Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I copy a class from one classlib to another ?
Message
 
 
À
03/07/2001 11:42:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00526330
Message ID:
00526343
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform