Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding property in Class Designer
Message
De
26/03/2003 19:09:05
 
 
À
26/03/2003 17:54:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00770494
Message ID:
00770546
Vues:
9
Blair,

To add to Sergey's comments...

Simply adding a custom property to a class does not actually add any functionality to the class. It provides a place where you can store (non-persistant) information within an object. You can then refer to that property from code, both within the class itself and from the outside (depending on whether it is public/protected/hidden).

So the class, by itself, does not "understand" what the property is, until you write code that uses the property.

>Hi Sergey,
>
>Unfortunately I'm using VFP7.
>Basically I'm trying to add a property to a class, either in designer (as it seems simpler) or in code, both without success, even after reviewing all the help docs, so I imagine I'm doing some simple mistake/ommission.
>
>For example If I'm adding a new property to a class, should I be including some file/path, so that the Class understands what this new property is, because the class doesn't automatically recognise it?
>
>Blair
>
>
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform