>Hi Rick
>
>>First, there is a WINDOW clause in the MOUSE command where you can specify the window to work in.
>
>Would WINDOW be the same as ThisForm.Name?
>
WINDOW is the same as form.name.
But I found one quirk (bug or feature? :) using MOUSE... WINDOW (WONTOP()) syntax.
If you have 2 or more instances of the same form running, VFP is not sure in which instance to issue the MOUSE command. It jumps from form to form sometimes not stopping for a long time. Of course, everything is fine if the forms have different .Name property.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison