Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On VCX bloat
Message
 
 
À
27/11/2000 10:46:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00445689
Message ID:
00446014
Vues:
9
Ken,

Every contained object is a row in the classlib. So if your class contains 30 objects, every time you save the class you'll cause 30 +/- records to be deleted.

I think the issue of of whether or not VFP can pack those records out at design time seems to be dependent on how much containership is involved in your classes.

Just get used to a periodic self pack, and the opportunity to recover prior versions of your class. *bg*

>Hi - after a lot of observation but little formal testing, It seems to me that the following is true in the case of (at least) VCX forms.
>
>1 - VFP seems to be able to automatically handle "vcx bloat" for forms as long as the forms are under a certain level of complexity (or perhaps number or type of controls). Most of my simpler to intermediate complexity form VCXs rarely need packing. Somehow VFP is dealing with it itself.
>
>2 - At some point - where the form reaches a certain level of complexity, number of controls, or some other set of circumstances, all of a sudden vcx bloat becomes a major issue. I have certain forms - that I can literally go into and do nothing more than move a button up a pixel, change one line of method code, or any other change - no matter how minor - and when I save - all of a sudden I have several hundred deleted lines in the VCX. If I go in and work with my class for awhile - saving on a regular basis - very quickly my 250 row VCX hits several thousand rows and I end up packing after every set of saves to keep it down.
>
>question - can anyone comment on the above and specifically, comment as to what set of circumstances suddenly kicks off this VCX bloat?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform