Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I create classes in a vcx programatically?
Message
De
21/12/2006 10:37:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
21/12/2006 10:24:01
Bill Drew
Independent Consultant
Chicago, Illinois, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01179343
Message ID:
01179575
Vues:
16
>That was very helpful. I'm going to use the prg method. Simpler is better.
>The only benefit to the vcx might be that I would be able to replace smaller sections of the program as the rules change -- rather than ship an entire fxp. But it is probably only marginally better and not worth the complexity of vcx creation. I didn't hear anybody say that there would be a performance benefit from the vcx approach.

I expect the prg to be more lightweight than the same class as a vcx - simply because the vcx has all the extra fields, i.e. needs to be opened as a table, which also contains the source code. A fxp is just a fxp. I know of a case where practically all the forms were redone in prgs, and the size of the exe dropped from 8 to 3.5 megs - so I figure it should be lighter. But in the case of one or just a dozen of classes, I think the difference is marginal.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform