Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I add method code at runtime ?
Message
From
05/02/2001 17:58:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Can I add method code at runtime ?
Miscellaneous
Thread ID:
00472716
Message ID:
00472716
Views:
66
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.
Next
Reply
Map
View

Click here to load this message in the networking platform