Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Removing/deleting a class
Message
De
28/03/2018 04:09:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01658967
Message ID:
01659029
Vues:
44
>
>Thank you, Fernando. What I don't understand is how your method (of exporting the VCX classes to PRG) would be different (or have an advantage) from simply deleting the the deprecated class from the VCX file?

It's simple, Dmitry:

With the text version you can see perfectly the code you are taking out, as when editing a PRG file, while editing a VCX directly you must know what fields to look at (so you need some technical background on VFP internals on VCX files) to be sure what record to delete.

At the end, you can do the same with both procedures, but it's like comparing the edition of a RTF file with Word, on which you can supress the text you want with mouse selecting and pressing "Del" key, and opening the RTF at low-level and digging on RTF code to look what to supress....

Use what it's more comfortable to you, I always prefer the text approach because it's safer, cleaner and you don't need to understand how VCX code is stored, just want to know how the CODE you are modifying works.
Fernando D. Bozzo
Madrid / Spain
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform