Robin,
You must have some other code doing this, natively in VFP page up.down do not change pages of a pageframe.
You may want to explicitly call the SetFocus() of the grid in the Page.Activate() so that the grid will be the active control and therefore process the page up/down key presses.
You can call the DoScroll() method to programatically scroll a grid.
>Hi! I have a pageframe with several pages containing grids. I want the page up & down to pageup & down in the grid of the page with focus. Page up/down is going up & down through my page frames?
>
>Can I scroll a grid automatocally a whole page?