>In one of my classes I am creating the grid I am displaying dynamically through a method on the class. When I try to set column1.text1.dblclick method = to a form method it fires off the form method. All I want to do is set the text box dblclick event = my form method. I tried using eval(Formmethod) but it is not working. Can you think of anyway for me to get around this problem ?
>
>Thanks for your help
>Stephen J. Hunt
You can not easily set methods in run time. Definitely not by the way you're trying to do it. Check FAQ section for Mike Helland FAQ "Adding code in a grid programatically" (something like that). This would be a start. Quite recently there was a very interesting thread on the same topic, I'll try to find it for you.
If it's not broken, fix it until it is.
My Blog