Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Good reason to never use form methods
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Good reason to never use form methods
Divers
Thread ID:
00415216
Message ID:
00415216
Vues:
63
I'm looking for feedback on this.

If you ever look into a compiled, non encrypted, VFP EXE you will find all of the source code, INCLUDING ALL YOUR COMMENTS, from every method in every form (and I think, vcx) in the exe. It appears that the compiler just brings in the entire form, source and all.

We just reduced the size of our EXE 60K by removing the methods from one complicated form and putting them in PRG files. We made sure nothing else was done as we wanted a very controlled test. The EXE runs just as fast. We are now getting ready to do this to all the forms.

Any thoughts on this would be appreciated. I'm wondering if there is a way to turn this off or is it just "Standard Equipment, no extra charge."

Many thanks in advance,
John.

ps. We use the old DOS dBrief 3.0 editor, so working on a prg is really easier than in a form anyway. (Once you get used to being able to cut and paste columns, undo 200 keystrokes one at a time with one key press, etc. you never want to go back.)
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform