Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How To Rename Classes
Message
De
29/01/2002 15:47:58
 
 
À
29/01/2002 15:35:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00612343
Message ID:
00612436
Vues:
24
Ken,

Thanks for the answer -- I _knew_ there had to be a way do it in VFP! <g> I wasn't opening up the scx files in the class browser.

Pete

>>I have a bunch of base classes, and a few subclasses. I also have several forms that use these classes. I'm not happy with my class naming conventions and want to rename all the classes. How do I do this, so that all the objects can still be instantiated? I know about using the Class Browser to rename the classes, but when I do this, the objects on the forms won't instantiate. Could anyone point me in the right direction to learn how to do this?
>
>If you open all the class libraries (VCX files) that relates to the class you are going to rename (all VCXs containing subclasses of that class), then the Class Browser will properly rename all subclasses and object instances in those VCXs. If you have SCX forms using classes/objects of the class being renamed, open those SCXs in the Class Browser when you do the renaming of the class also.
Pete Donahoe
Once a programmer, always a programmer!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform