Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Browser/ViewCode.prg errors!
Message
De
16/12/2003 16:50:31
 
 
À
16/12/2003 16:26:32
Scott Malinowski
Arizona Fox Software LLC
Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00859638
Message ID:
00859684
Vues:
14
>All I want to do is duplicate a class in a class library (with a different class name of course!). I have a saleform class that I want to duplicate into a somethingelseform class but it must stay in the same class library.
>
>Any ideas?

1) Create an empty classlibrary.

2) Open your empty class library in a the class browser (let's call it CB1).

3) Open your existing class library in another class browser (let's call it CB2).

4) Select your form class in CB1
Hold down the Ctrl key and select the icon in the upper left of CB1 and drag it over to CB2 left pain.

5) Rename this new class in CB2

6) Select the new class in CB2
Select the icon in the upper left of CB2 and drag it to CB1 left hand paine of the tree. No need for the Ctrl key as we don't need to copy it this time, we're moving it from one Classlib to the other.

You should now have a copy of the class with a new name that is not a subclass.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform