>Dear Ed:
>
>I try to do this (Make a subclass of the TextBox Class, and type the code to get the behavior that I want).
>
>I call the new subclass MyTBox. The MyTBox.gotfocus() is {this.selstart=6}
>
>In the dessigner form, I add MyTBox control to the form. Also I add a grid.
>The Grid has 2 column. I remove the default textbox of the column2 and add the new MyTBox class to the column2.
>...But the I get behavior in the 2 MyTbox (MyForm.MyTBox), but not in the Form.Grid1.Column2.MyTBox.
>
You have to add the control programmatically to the grid; the default behavior of the native grid class will put a base TextBox in as the control in the column.