Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding custom properties at run time.
Message
De
10/08/1998 09:37:35
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Adding custom properties at run time.
Divers
Thread ID:
00125221
Message ID:
00125221
Vues:
55
I'm a newbie...

Is it possible to add custom properties programmatically at run time, as they will be extracted from a table that is maintainable.

i.e.
DEFINE CLASS myclass of CUSTOM
CustomProperty1 = .F.
CustomProperty2 = .F.
ENDDEFINE

I have tried setting the properties as strings and using macro substitution but this seems to have no effect.

i.e.
m.lcString = 'CustomProperty1 = .F.'
DEFINE CLASS myclass of CUSTOM
&lcString
ENDDEFINE

I would be greatful for any help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform