Hi William,
Thanks for the quick reply. What I did was to set a flag in the grids .Valid() event and then in each controls .LostFocus event I checked the flag and if .T. grid.column1.text1.setfocus, and grid.refresh. This works but what a pain. Like I said, Man I wish grids had GotFocus() and LostFocus() Events |-(.
>>I have a grid on a form that contains more columns than can be shown so when the user tabs through the columns they shift over accordingly. When the users exits the grid they want the grid to "realign" itself so column1 is the leftmost column. Any ideas? Man I wish grids had GotFocus() and LostFocus() Events |-(
>
>The column on the grid has setfocus() method that you can use ...
>also the text control from the column of a grid has those methods that you want you ca use it...
>
>grid.column.text1.gotfocus()
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada
cmagee@metroland.comNever mistake having a career with having a life.