Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping what is Clicked
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00099083
Message ID:
00099748
Views:
21
Joe,

Remember though that there are alternate keyboard ways of getting to that control, and in fact the mouse may be just hovering over a completely separate control, that might even be on another form.

>I tried it...works great. Thanks for the warning Jim. I tested that too. You are right...now way out...I am doing the SYS(1270) and sticking the name property into a local and releasing the object right away...
>
>I am happy that VFP makes these low-level functions available. It solves a lot of problems.
>
>Take care,
>Joe
>
>>>U can use the SYS(1270) function to get an object reference to the object under the mouse cursor and the MDOWN() function to look if the object is clicked
>>Walter,
>>
>>Yes you can, but be very carefull that you destroy that object reference as soon as possible. If you don't you will find that your form will not go away because of that errant object reference to one of the controls.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform