Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming Libraries
Message
De
14/09/2008 06:51:28
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01346874
Message ID:
01347411
Vues:
19
Note that, whether renaming classes or renaming/relocating libraries as I described earlier,
you still have to manually fix the references to those names in method code.

-m.

=================

>Open your project from within the class browser. The CB will automatically correct the references when you rename them from there, per Markus Eggars' book.
>
>>Ah, I may have misunderstood that message from Erik. I want to rename the libraries and leave the class names inside the same. I also want the forms to reference the newly renamed libraries.
>>
>>>Right click on a class and select rename.
>>>
>>>>I have all my class libraries open that I want to rename in multiple instances of the class browser, as well as the forms that use them. How do I actually rename the libraries?
>>>>
>>>>This was my reference:
>>>>
>>>>Message #140096
>>>>
>>>>"Make a note that when renaming classes, this is not nearly so difficult. If you rename a class with the class browser, have open all other class libraries with subclasses of the class, and any forms that contain instances of these classes all in other class browser sessions and the browser will take care of the renaming for you. Pretty slick undocumented feature."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform