Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I add method code at runtime ?
Message
De
05/02/2001 17:58:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Can I add method code at runtime ?
Divers
Thread ID:
00472716
Message ID:
00472716
Vues:
67
I am creating a set of text boxes, in a container, at run time, with addobject(), based on the values in a table. I am using the textbox base class as the class on which to base the text boxes. (maybe I shouldn't ?). But ideally I want each text box to have it's own custom valid method. I guess if I based it on a different subclass of textbox, it could inherit the valid, this would be better, but still might not do the trick.

Is it possible to create the valid at runtime, per text box ? I see no
addmethod() method, just addproperty()

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform