>Hi all,
>
>I have created a class based on the grid call call MyGrid. I want to place some code in the click event of all the TextBoxs that MyGrid uses.
>
>So, I subclassed a TextBox to MyGridTextBox and added the code.
>
>My question is how to convince MyGrid to use MyGridTextBox when it is placed on a form?
>
>
>Thanks in advance for any help.
Have a look at my article here in the knowledge base titled "A better grid" or something like that. It details a strategy or two for doing exactly this.
Erik Moore
Clientelligence