Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving the mouse pointer
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00362899
Message ID:
00364097
Views:
40
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform