Larry,
In this neutral country :), forms react in the keypress event to Home and End with keypreview on. ... The code for home is 1 and for End is 6.
Regards,
Marc
>I have KEYPREVIEW = .T. and I can capture various keys like PGUP, PGDN, CTL_HOME, etc...
>
>But when I press HOME or END, nothing happens... I've placed a WAIT WINDOW in the KEYPRESS event to verify this...
>
>Do I need to use ON KEY LABEL to capture HOME and END???? Why????
>
>Thanks
If things have the tendency to go your way, do not worry. It won't last. Jules Renard.