Thanks for this Dave we was doing something similar but it messed with some of 
our dodgy code where the Toolbar Button was popping a KEYBOARD into the buffer 
and then the INKEY was stealing it .... but working on making this a little bit 
better now.

Thanks

Chris.

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Dave Crozier
Sent: 24 September 2013 13:16
To: [email protected]
Subject: RE: Double Clicks on Toolbars

To clear the second and subsequent mouse clicks you need:

DO WHILE INKEY(0.01, "M") <> 0
ENDDO

Disabling the button isn't any use as the keyboard Queue will be still 
processing clicks

Dave


-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Chris Davis
Sent: 24 September 2013 11:32
To: [email protected]
Subject: Double Clicks on Toolbars

Morning All,

Would anyone have any ideas on the following.  We have a toolbar with buttons 
and users are double clicking them.  With there only being a click event the 
code behind the button is running twice, despite the first thing us doing is 
disabling the button.

Thanks

Chris.

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
______________________________________________________________________

--- StripMime Report -- processed MIME parts --- multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
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