Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I create an empty class?
Message
De
11/12/2003 14:20:03
 
 
À
11/12/2003 11:24:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00858157
Message ID:
00858283
Vues:
19
Hi Cetin,
>Update: Makes sense when I read the help :
>"You cannot subclass or add custom methods and events to the Empty class"
If you need very similar empty based objects (which you normally would put in an inheritance tree) there is an OOPish way: you can put the code to *create* the empty object in a class, and put the "special" calls to addproperty in a subclass. Where to use: if you want bus objects updating only parts of the table.

my 0.02 EUR

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform