General information
Category:
Forms & Form designer
Title:
Can I add method code at runtime ?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only