Dear Ed:
I test what you said. I don't run. I don't know if I explain the the issue O.K.
The only problem is if you type the same code into a textBox that are in a grid.
The code don't run. I don't want to make a subclass, only edit the GotFocus() event of the TextBox.
Why the code run O.K. in a TextBox (MyForm.TextBox) and don't run in a TextBox that are inside of a Grid (MyForm.MyGrid.MyColumn1.TextBox)? It's the same code and different results.
I think that the gotfocus() event of the TextBox, isn't the last event when the TextBox are inside a Grid. What event occurs after?
Thanks again.
Fernando Molina
fmolina@sintonia.es