Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memberdata reached 8K
Message
De
18/04/2008 16:57:44
 
 
À
18/04/2008 11:38:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01311697
Message ID:
01311804
Vues:
21
>Hi folks,
>
>I've been working in a new class for creating charts, and had to add lots of custom properties to it.
>
>I've been using Doug Hennig's new property editor, in order to automatically generate the memberdata needed to keep the captions of the properties the way I kike them to look.
>
>But I've reached the 8K limit for a property.
>
>Is there a workaround for this ?
>
>Thanks in advance
>
Cesar:

Just a couple of simple ideas:

If you have properties with access and/or assign methods, go to Class - Memberdata Editor, and uncheck "Has MemberData" to all the access and assign methods.

Do the same thing to all the "private" properties/methods that are only for use by the class internally.

Add all the "public" properties/methods to Favorites, just so its easier to work with them.

For new properties/methods with Access/Assign that you add with the new/edit property editor, never check the "Access Method" or "Assign Method" checkboxes, just add the property like for example:

"MyCustomProperty"

And then add the access and assign methods yourself, just like another method, but all lower case:

"mycustomproperty_access"
"mycustompreperty_assign"

For "private" properties/methods, just add them all lower case.

If you have lots of Assign/Access methods and lots of "private" properties/methods, this will shave off a lot from Memberdata.

This could be a great feature to add to the new/edit property dialog, a "Add Assign and Access Methods in lower case" option.

Hope this helps.

The real problem is all this memberdata thing, isn't it? I wonder who was the genius that came up with this one, instead of doing things right.

Carlos
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform