>I have a PageFrame on a form with a few pages. I don't know how to use PageDown or PageUp keys to move between pages. I can only use arrow key to do so.
>
>
>Thanks for any input.
>
>
>Ying
The basic idea is following:
1. Use For.KeyPress event (with Form.KeyPreview=.T.) to intercept any key combination pressed by user.
2. From this event you can fire code like
This.pgFrame1.ActivePage=3
to open page #3, etc.
Edward Pikman
Independent Consultant