Hi Malcolm,
I did a small example, but VFP is very most hard-headed :-(
MartinJ
>Hi Martin,
>
>>You can use command MOUSE AT x,y PIXELS if mouse is outside region.
>
>I'm not sure how well the MOUSE AT command works during a mousemove event. I tried using this command like this:
>
>
>ThisForm.LockScreen = .T.
>mouse at lnRow, lnCol pixels
>ThisForm.LockScreen = .F.
>
>
>But on my system the result was very "jerky" vs. smooth and I would sometimes momentarily lose the mouse cusor.
>
>Do you have any ideas on how I might fix these problems?
>
>Thanks for your help,
>
>Malcolm