>I'm messing around with grids for the first time (VFP5).
>I have a form with two grids from unrelated tables and a command button.
>I would like to know how to make the grids read-only and work in such a way that the TAB key cycles among the objects, and not within columns of a grid that has focus.
>
>Thanks.
If you do not want to do anything in the grid and do not want the focus to go there, in its when method, add the following line:
RETURN .F.
The focus will never go to the grid and cycle among the other objects.
Regards
Abdul Ahad