Thank you Tracy!

I had never used inkey with the 'M' parameter, so I was baffled by the way it behaved. I never thought of putting a "wait 8 seconds" parameter to give the user time to do the mouse click.

I'll also check the mousedown event and adapt my code accordingly.

Rafael


El 05/08/2014 22:25, Tracy Pearson escribió:
On August 5, 2014 6:33:41 PM EDT, Rafael Copquin <[email protected]> 
wrote:
  I need to know that a mouse click was done, but for the life of me I
  can't figure out how to use inkey with the 'M' parameter.
Is there any other way to detect a mouse click? A code snippet would help a lot TIA Rafael Copquin
Rafael,

?INKEY(8, "M")

Click with the mouse in those 8 seconds returns 151.
Press the ALT+Home key combination and you also get 151.

Every UI object has a click event.
MDOWN() still works.

If you look up the MCOL() function, the other resources section might give you 
more to look at.



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to