Hi Mike! >I have a column member class that I use in my grids. The column member class adds a textbox class in the Init() event using Addobject(). >The textbox class has no code in its Valid() event. What I'd like to have happen is to somehow add code (at runtime) to the textbox's Valid() event so that a different validation is run for each column. >I thought that the textbox's WriteExpression() method looked like a promising solution, however, it is only for design time :( >Is there any way to do what I described? >TIA >VFP8SP1, Win200Pro >Regards, >Mike
Look at BindEvents function in help. I think that it can help you. Bye!