Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dummy Class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00423311
Message ID:
00423345
Vues:
14
>>>>>>>>>>>>>>>>>>>>>>>>>>>
You are right, if I get a complete blank class (no methods, no properties) then I won't get the AddProperty method either!!! -- Dough! I didn't think of it before, I guess is time to go to bed :)
>>>>>>>>>>>>>>>>>>>>>>>>>>>

You could grab a small-imprint object, like Line or Relation, and declare all base properties and methods (except AddObject) as Protected or Hidden. This would achieve some of your goal.

Interesting side note: when VFP first came out (the very first release -- 3.0, before 3.0a [or was it 3.0b?]) an "empty" class was exposed that had no exposed methods or properties, and was much smaller memory-wise, than any other class. I believe this was an oversite on the Fox team's part, though -- by the very next patch it was gone. Of course, wise-*ss that I was, I had already used it by then as a basis for a class of custom methods (d'ohhhh!!).
The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts. - Bertrand Russell
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform