Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return a value from a non-visual form?
Message
De
18/07/2001 02:14:15
 
 
À
13/07/2001 09:45:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00530047
Message ID:
00531868
Vues:
21
>A follow-up question but does not really requires an answer as I may soon find this out. Will converting my visual class/forms to text-based format have a significant impact on the total size my EXE?

I thought about this one a little bit. I don't have a definitive answer, but I think that since the .exe likely contains the .fxp of each .prg, but contains the full .vcx structure of the class libraries, I'd wager that the size of the .exe would be smaller if you use .prg-based classes. But that's a hunch at best.

However, my experience has shown me that well-chosen .prg classes do seem to positively impact speed a bit. One has to choose carefully between speed of the application versus maintainability. But certain of my base classes are text-based by definition (Header, Column, Page) and I always use instantiations or subclasses of those classes instead of letting VFP insert its defaults in my Pageframes or Grids.

Probably more than you asked for, but there it is.
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform