You use INKEY(0,"M") to check for a mouse click. If it happens twice in .2 seconds it´s a double click otherwise a single one.
>________________________________ > From: Gene Wirchenko <[email protected]> >To: ProFox Email List <[email protected]> >Sent: Friday, September 27, 2013 1:55 PM >Subject: Re: Double-Clicking and _dblclick > > >At 13:35 2013-09-26, Eurico Chagas Filho <[email protected]> wrote: >>Gene, capture click and dblclick in the KeyPress event. Disable the clicks >>events. In the KeyPress call methods that execute whatever u want accordingly. > > In KeyPress? What does that have to do with clicks? > > And how do I capture click and doubleclick anyway? > >[snip] > >Sincerely, > >Gene Wirchekno > > >_______________________________________________ >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/ >** 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. > > > --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ 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.

