Hi Mike,
Thanks for the fast response.
I put in this code into the click event of the header for column1:
this.parent.parent.ActivateCell(1, 1) && and 2,3,4 for the other columns
It works well, except that the column# in activatecell(row#, column#) seems relative to the columns displayed in the grid. If column1 has disappeared, because of scrolling to the right, activatecell(1,3) goes to the third displayed column, which is column4. This will be confusing for users.
Thanks again,
Paul
>Hi Paul,
>
>>If the textbox for column1 is highlighted and I click on the header for column4,(for example) I wanted the textbox for column4 to have the focus, or be hightlighted or selected. (Sorry, I not sure of the correct term.)
>
>Try something like:
>
Grid1.ActivateCell(Grid.ActiveRow, 4)