Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add assign method programatically
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01194810
Message ID:
01194842
Vues:
21
>>>>>>Is it possible to add an assign method to a class at run-time? If yes, will a scatter command execute it?
>>>>>>Thanks,
>>>>>>Trevor
>>>>>
>>>>>Version of VFP?
>>>>VFP 9 SP1
>>>
>>>You could BINDEVENT() to the property, but I don't see any reason not to have ASSIGN method in your class. Can you tell us more?
>>I have written a class that does a generic data conversion from fox dbf's to an sql backend. The only thing they have in common is the field name.
>
>That is great, but why you don't want to have ASSIGN method in that class?
I don't know the names of the fields until run-time
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform