Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Member data - WTF?
Message
De
25/05/2005 15:33:03
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01017493
Message ID:
01017629
Vues:
25
>I've just started really taking advantage of the member data stuff for a new class I'm working on. It's got a little under 80 PEM's. I tend to actually make my PEM's descriptive, so they have longer names like "nTotalAmountToGoal" or "GetPriceSchedule". I've also added them to the Favorites tab so it's easy to see them (eg. they're not mixed in with the VFP methods). I just got an error when I added a new property, "The member data for this class is over 8K in size, which is too long, so the display and favorite settings won't be saved".
>
>WTF?! Do you know how often someone is likely to run into this as soon as you really try to leverage the member data settings? I haven't even tried using this data to extend anything yet and I've already run into this.
>
>Arg...
>
>BTW - because of this limit, they REALLY should have shortened the tag names; the "memberdata", "favorites", "display", "method", "property", and "name" are taking up a whopping 37% of the entire XML string length.

Paul,

The March issue of FoxPro Advisor has an article by Boudewijn Lutgerink that shows how to add to the Favorites tab without using the _MemberData property and instead using the _FoxCode table. That should get you around the 8K limit.

Regards,
Jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform