Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding method at runtime
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00860534
Message ID:
00860670
Vues:
16
You cannot add a method directly.
You can however, add a property and bindevent() your code to this property.

The code may pre-exist in your exe, but you can also write a class prg and compile it at run time before instanciating the class.

The possibilities look endless...

HTH :-)

>I was just curious if there is a way to programmatically at runtime add a method to a class (kind of like AddProperty, but for a method)...?
>
>Laterness,
>Jon
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform