Hi Marica
>The problem is that when you dblClick on a row in the grid that has data, it is the contained control's (the textbox) dblClick that fires. The only time the grid's dblClick fires is when you click on a row that does not have data.
Beat the idea of finding out which row has been double-clicked <g>
>
>This.Parent.Parent.dblClick()
>
>
>And when you set the ColumnCount of the grid, loop through the columns collection and programmatically add your custom text box and remove the native one.
I liked Gregory's idea of putting the above code into the class I have for the columns textbox, which is luckily subclassed.
Thanks for your help.