>I am having the following problem with my grid. I have this grid on a page frame,
>and I need one column of the grid to be always filled in. When I click on the
>add button to add a line to the grid, focus is automatically set to the column
>and new row in the grid. My problem is if the person clicks on the page somewhere,
>the valid event fires, but focus is lost in the grid and focus is set to the page
>tab. Is this a VFP bug?? Is there a work around??
Sounds to me as if it's working as designed, more or less. If you click on the page,
the page should get focus. If you don't want the page to get focus, set the
Page.GetFocus to something like:
This.grd1.SetFocus()
NODEFAULT