>>It's better to use INKEY (it will really interrupt VFP processing), in your case VFP tends to process your keystroke only when process will stop, and loop is endless.
>
>
>There is no example of using inkey in the help. How do I use it?
>
>I tried this:
>
>do while !eof() and inkey() != 29 &&(ctrl+home)
>.
>.
>.
>enddo
>
>but nothing.
>
>Dave
do while .t.
if inkey()=83
exit
endif
enddo
Edward Pikman
Independent Consultant