>What is the AllowCellSelection property set to? If it's .F., then you need to put code in the DblClick of the grid and not the textbox. Also, is it possible that you accidentally put something in the Click event of the textbox?
>
>
>I put the AllowCellSelection property to .F. and the code in the DblClick of the grid, and now it works. Thanks. One of this days I'll find what happened.
You're welcome.
If it's not broken, fix it until it is.
My Blog