What's the problem with ThisForm.YourGrid.SomeColumn.Text1.SetFocus() ?
Jaime
>Hi All,
>
>I have a grid which has 250 columns in it representing months' performance since 1994, one column per month. I created a button for the user to GO TO TODAY, in which I want the grid to scroll right as many months and set the focus on the month of today.
>
>I have used the thisform.grid1.doscrolled(5) function for 107 times, it scrolles the grid but the focus stays on the first column (01/94).
>
>Is there a way to replicate the user's mouse click in order to set the focus to the actual month after the grid is scrolled to it?
>
>Thanks
>
>Jonathan
Why do programs stop working correctly as soon as you leave the Fox?