>Hi All,
>
>I'm sure many of you have also designed a Form similar to the Index page of the Win standard Help Form.
>I mean a Form with a TextBox where you type what you're looking for, and as you're typing, it automatically searches bellow on a List or on a Grid for the nearest values.
>
>Ok, that Form is already working.
>
>However, I also wanted to automatically switch to the grid if the user types on the TextBox the up/down arrow or the page up/down keystrokes, also executing them on the grid.
>
>I wouldn't like to control that by using SKIP commands at the KeyPress event, I think the best would be to somehow set the focus to the Grid and execute the same there, allowing the user to navigate directly on the Grid. But I still couldn't achive that...
>
>Any ideas?
>
>TIA,
>
>Renato
Use SKIP commands in Form.Keypress event, and set Form.KeyPreview=.t.
Edward Pikman
Independent Consultant